LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Nick Andrew <nick@nick-andrew.net>
To: trivial@kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Improve init/Kconfig help descriptions [PATCH 7/9]
Date: Wed, 20 Feb 2008 02:15:27 +1100 [thread overview]
Message-ID: <20080219151527.GE27352@tull.net> (raw)
In-Reply-To: <20080219140609.GA26619@tull.net>
On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote:
> Here is a series of 9 patches to init/Kconfig intended to improve the
> usefulness and consistency of the help descriptions. The patches are
> against linux-2.6.24.2.
> [...]
> Patch 7
> EMBEDDED
> SYSCTL_SYSCALL
> KALLSYMS
> KALLSYMS_ALL
> KALLSYMS_EXTRA_PASS
> HOTPLUG
> PRINTK
> BUG
> ELF_CORE
> BASE_FULL
> FUTEX
> EPOLL
> SIGNALFD
> TIMERFD
> EVENTFD
Changelog:
Improve usefulness and consistency of kernel configuration help messages.
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
--- a/init/Kconfig 2008-02-20 00:45:07.000000000 +1100
+++ b/init/Kconfig 2008-02-20 00:52:07.000000000 +1100
@@ -439,10 +439,14 @@ menuconfig EMBEDDED
bool "Configure standard kernel features (for small systems)"
help
This option allows certain base kernel options and settings
- to be disabled or tweaked. This is for specialized
- environments which can tolerate a "non-standard" kernel.
+ to be disabled or tweaked. This is for embedded systems and
+ specialized environments which can tolerate a "non-standard"
+ kernel.
+
Only use this if you really know what you are doing.
+ If unsure, say N.
+
config UID16
bool "Enable 16-bit UID system calls" if EMBEDDED
depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
@@ -460,51 +464,62 @@ config SYSCTL_SYSCALL
using paths with ascii names is now the primary path to this
information.
- Almost nothing using the binary sysctl interface so if you are
+ Almost nothing uses the binary sysctl interface so if you are
trying to save some space it is probably safe to disable this,
making your kernel marginally smaller.
- If unsure say Y here.
+ If unsure, say Y.
config KALLSYMS
- bool "Load all symbols for debugging/ksymoops" if EMBEDDED
- default y
- help
- Say Y here to let the kernel print out symbolic crash information and
- symbolic stack backtraces. This increases the size of the kernel
- somewhat, as all symbols have to be loaded into the kernel image.
+ bool "Load all symbols for debugging/ksymoops" if EMBEDDED
+ default y
+ help
+ This information causes the kernel to print out symbolic crash
+ information and symbolic stack backtraces.
+
+ It increases the size of the kernel somewhat, as all symbols
+ have to be loaded into the kernel image.
+
+ If unsure, say Y.
config KALLSYMS_ALL
bool "Include all symbols in kallsyms"
depends on DEBUG_KERNEL && KALLSYMS
help
- Normally kallsyms only contains the symbols of functions, for nicer
- OOPS messages. Some debuggers can use kallsyms for other
- symbols too: say Y here to include all symbols, if you need them
- and you don't care about adding 300k to the size of your kernel.
+ Normally kallsyms only contains the symbols of functions, for nicer
+ OOPS messages. Some debuggers can use kallsyms for other
+ symbols too: say Y here to include all symbols, if you need them.
+
+ Your kernel size will increase by around 300k.
- Say N.
+ If unsure, say N.
config KALLSYMS_EXTRA_PASS
bool "Do an extra kallsyms pass"
depends on KALLSYMS
help
- If kallsyms is not working correctly, the build will fail with
- inconsistent kallsyms data. If that occurs, log a bug report and
- turn on KALLSYMS_EXTRA_PASS which should result in a stable build.
- Always say N here unless you find a bug in kallsyms, which must be
- reported. KALLSYMS_EXTRA_PASS is only a temporary workaround while
- you wait for kallsyms to be fixed.
+ If kallsyms is not working correctly, the build will fail with
+ inconsistent kallsyms data. If that occurs, log a bug report and
+ turn on KALLSYMS_EXTRA_PASS which should result in a stable build.
+
+ Always say N here unless you find a bug in kallsyms, which must be
+ reported. KALLSYMS_EXTRA_PASS is only a temporary workaround while
+ you wait for kallsyms to be fixed.
+ If unsure, say N.
config HOTPLUG
bool "Support for hot-pluggable devices" if EMBEDDED
default y
help
This option is provided for the case where no hotplug or uevent
- capabilities is wanted by the kernel. You should only consider
- disabling this option for embedded systems that do not use modules, a
- dynamic /dev tree, or dynamic device discovery. Just say Y.
+ capabilities are wanted by the kernel.
+
+ You should only consider disabling this option for embedded
+ systems that do not use modules, a dynamic /dev tree, or
+ dynamic device discovery.
+
+ If unsure, say Y.
config PRINTK
default y
@@ -516,21 +531,30 @@ config PRINTK
very difficult to diagnose system problems, saying N here is
strongly discouraged.
+ If unsure, say Y.
+
config BUG
bool "BUG() support" if EMBEDDED
default y
help
Disabling this option eliminates support for BUG and WARN, reducing
the size of your kernel image and potentially quietly ignoring
- numerous fatal conditions. You should only consider disabling this
- option for embedded systems with no facilities for reporting errors.
- Just say Y.
+ numerous fatal conditions.
+
+ You should only consider disabling this option for embedded
+ systems with no facilities for reporting errors.
+
+ If unsure, say Y.
config ELF_CORE
default y
bool "Enable ELF core dumps" if EMBEDDED
help
- Enable support for generating core dumps. Disabling saves about 4k.
+ Enable support for generating core dumps when a process fails.
+
+ Your kernel size will increase by around 4k.
+
+ If unsure, say Y.
config BASE_FULL
default y
@@ -540,6 +564,8 @@ config BASE_FULL
kernel data structures. This saves memory on small machines,
but may reduce performance.
+ If unsure, say Y.
+
config FUTEX
bool "Enable futex support" if EMBEDDED
default y
@@ -549,6 +575,8 @@ config FUTEX
support for "fast userspace mutexes". The resulting kernel may not
run glibc-based applications correctly.
+ If unsure, say Y.
+
config ANON_INODES
bool
@@ -560,13 +588,15 @@ config EPOLL
Disabling this option will cause the kernel to be built without
support for epoll family of system calls.
+ If unsure, say Y.
+
config SIGNALFD
bool "Enable signalfd() system call" if EMBEDDED
select ANON_INODES
default y
help
- Enable the signalfd() system call that allows to receive signals
- on a file descriptor.
+ Enable the signalfd() system call that allows a process to
+ receive signals on a file descriptor.
If unsure, say Y.
@@ -576,8 +606,8 @@ config TIMERFD
depends on BROKEN
default y
help
- Enable the timerfd() system call that allows to receive timer
- events on a file descriptor.
+ Enable the timerfd() system call that allows a process to
+ receive timer events on a file descriptor.
If unsure, say Y.
@@ -586,8 +616,9 @@ config EVENTFD
select ANON_INODES
default y
help
- Enable the eventfd() system call that allows to receive both
- kernel notification (ie. KAIO) or userspace notifications.
+ Enable the eventfd() system call that allows a process to
+ receive both kernel notification (ie. KAIO) or userspace
+ notifications.
If unsure, say Y.
next prev parent reply other threads:[~2008-02-19 15:16 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 14:06 Improve init/Kconfig help descriptions [PATCH 0/9] Nick Andrew
2008-02-19 14:09 ` Improve init/Kconfig help descriptions [PATCH 1/9] Nick Andrew
2008-02-19 14:11 ` Improve init/Kconfig help descriptions [PATCH 2/9] Nick Andrew
2008-02-19 14:33 ` Improve init/Kconfig help descriptions [PATCH 3/9] Nick Andrew
2008-02-19 14:42 ` Pavel Emelyanov
2008-02-19 15:10 ` Nick Andrew
2008-02-19 15:16 ` Pavel Emelyanov
2008-02-19 15:50 ` Serge E. Hallyn
2008-02-19 16:44 ` Randy Dunlap
2008-02-19 22:41 ` Nick Andrew
2008-02-20 12:19 ` [PATCH 2.6.25-rc2 3/9] config: Improve init/Kconfig help descriptions - namespaces Nick Andrew
2008-02-20 12:23 ` Pavel Emelyanov
2008-02-20 13:01 ` Nick Andrew
2008-02-20 13:07 ` Pavel Emelyanov
2008-02-20 16:50 ` serge
2008-02-20 23:10 ` Nick Andrew
2008-02-19 14:38 ` Improve init/Kconfig help descriptions [PATCH 4/9] Nick Andrew
2008-02-20 3:42 ` Valdis.Kletnieks
2008-02-20 22:17 ` Nick Andrew
2008-02-19 14:53 ` Improve init/Kconfig help descriptions [PATCH 5/9] Nick Andrew
2008-02-19 20:17 ` Randy Dunlap
2008-02-19 15:12 ` Improve init/Kconfig help descriptions [PATCH 6/9] Nick Andrew
2008-02-19 15:39 ` Paul Jackson
2008-02-20 12:41 ` Nick Andrew
2008-02-20 16:43 ` Paul Jackson
2008-02-20 2:04 ` Paul Menage
2008-02-20 2:54 ` Nick Andrew
2008-02-20 3:12 ` Paul Menage
2008-02-20 16:55 ` serge
2008-02-20 21:31 ` Nick Andrew
2008-02-19 15:15 ` Nick Andrew [this message]
2008-02-19 15:21 ` Improve init/Kconfig help descriptions [PATCH 8/9] Nick Andrew
2008-02-19 15:27 ` Improve init/Kconfig help descriptions [PATCH 9/9] Nick Andrew
2008-02-20 22:33 ` [PATCH 2.6.25-rc2 1/9] init: Improve init/Kconfig help descriptions part 1 Nick Andrew
[not found] ` <200802220014.m1M0Dh5r022354@rgminet03.oracle.com>
2008-02-22 0:19 ` [PATCH 2.6.25-rc2 5/9] Kconfig: Improve init/Kconfig help descriptions - IKCONFIG etc Randy Dunlap
2008-02-22 0:48 ` [PATCH 2.6.25-rc2 1/9] Kconfig: Improve init/Kconfig help descriptions part 1 Nick Andrew
2008-02-22 0:49 ` [PATCH 2.6.25-rc2 2/9] Kconfig: Improve init/Kconfig help descriptions - TASKSTATS Nick Andrew
2008-02-22 0:51 ` [PATCH 2.6.25-rc2 3/9] Kconfig: Improve init/Kconfig help descriptions - NAMESPACES Nick Andrew
2008-02-27 23:00 ` Nick Andrew
2008-02-27 23:08 ` Serge E. Hallyn
2008-02-22 0:52 ` [PATCH 2.6.25-rc2 4/9] Kconfig: Improve init/Kconfig help descriptions - AUDIT Nick Andrew
2008-02-22 0:54 ` [PATCH 2.6.25-rc2 5/9] Kconfig: Improve init/Kconfig help descriptions - IKCONFIG etc Nick Andrew
2008-02-22 0:55 ` [PATCH 2.6.25-rc2 6/9] Kconfig: Improve init/Kconfig help descriptions - CGROUPS Nick Andrew
2008-02-22 0:56 ` [PATCH 2.6.25-rc2 7/9] Kconfig: Improve init/Kconfig help descriptions - EMBEDDED etc Nick Andrew
2008-02-22 0:58 ` [PATCH 2.6.25-rc2 8/9] Kconfig: Improve init/Kconfig help descriptions - SLAB Nick Andrew
2008-02-22 0:59 ` [PATCH 2.6.25-rc2 9/9] Kconfig: Improve init/Kconfig help descriptions - MODULES Nick Andrew
[not found] ` <200802220010.m1M0Arr7024044@vzorg.swsoft.net>
2008-02-22 8:14 ` [PATCH 2.6.25-rc2 3/9] Kconfig: Improve init/Kconfig help descriptions - NAMESPACES Pavel Emelyanov
[not found] ` <200802220010.m1M0Auqn024414@e5.ny.us.ibm.com>
2008-02-22 22:14 ` Serge E. Hallyn
2008-02-23 1:12 ` Nick Andrew
2008-02-23 3:45 ` Serge E. Hallyn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080219151527.GE27352@tull.net \
--to=nick@nick-andrew.net \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).