Skip to content

Put "Kernel hacking" Kconfig menu on a diet

Dave Hansen lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7consolidate per-arch stack overflow debugging optionsarch/arc/Kconfig arch/arc/Kconfig.debug arch/blackfin/Kconfig +21 more+33 -900 replies
2/7order memory debugging Kconfig optionslib/Kconfig.debug+345 -3401 reply
3/7consolidate runtime testing configslib/Kconfig.debug+81 -760 replies
4/7consolidate compilation option configslib/Kconfig.debug+80 -760 replies
5/7group locking debugging optionslib/Kconfig.debug+10 -60 replies
6/7kconfig: consolidate printk optionslib/Kconfig.debug+90 -870 replies
7/7hang and lockup detection menulib/Kconfig.debug+23 -190 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchH. Peter AnvinJames HoganChris MetcalfPaul E. McKenney
1/7R-b R-b A-b
2/7A-b
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] Put "Kernel hacking" Kconfig menu on a diet

Linus, I've tried to send these along to a couple of different maintainers for a couple of merge windows, but so far nobody has bitten.

--

I think the "Kernel Hacking" menu has gotten a bit out of hand. It is over 120 lines long on my system with everything enabled and options are scattered around it haphazardly.

        http://sr71.net/~dave/linux/kconfig-horror.png

Let's try to introduce some sanity. This set takes that 120 lines down to 55 and makes it vastly easier to find some things. It's a start.

This set stands on its own, but there is plenty of room for follow-up patches. The arch-specific debug options still end up getting stuck in the top-level "kernel hacking" menu. OPTIMIZE_INLINING, for instance, could obviously go in to the "compiler options" menu, but the fact that it is defined in arch/ in a separate Kconfig file keeps it on its own for the moment.

--

There is a fair amount of churn in the areas around these patches so I've resolved conflicts a couple of times. For the patches that are almost purely code move patches, I'm doing this:

	cat foo.patch | grep '^[-+]' | perl -pe 's/^.//' | sort | uniq -c | sort -n

and watching for any non-even numbers coming out of uniq. This helps me make sure I'm not adding/removing code that I should not be.

The Signed-off-by's in here look funky. I changed employers while working on this set, so I have signoffs from both email addresses. Here's the original posting:

	http://lkml.kernel.org/r/[email protected]