Re: Improve init/Kconfig help descriptions [PATCH 2/9]

From: Nick Andrew
Date: Tue Feb 19 2008 - 09:12:36 EST


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 2
> TASKSTATS
> TASK_DELAY_ACCT
> TASK_XACCT
> TASK_IO_ACCOUNTING

Changelog:

Improve usefulness and consistency of kernel configuration help messages.

Signed-off-by: Nick Andrew <nick@xxxxxxxxxxxxxxx>

--- a/init/Kconfig 2008-02-20 00:45:07.000000000 +1100
+++ b/init/Kconfig 2008-02-20 00:52:07.000000000 +1100
@@ -169,42 +169,52 @@ config TASKSTATS
depends on NET
default n
help
- Export selected statistics for tasks/processes through the
- generic netlink interface. Unlike BSD process accounting, the
- statistics are available during the lifetime of tasks/processes as
- responses to commands. Like BSD accounting, they are sent to user
- space on task exit.
+ Taskstats is a netlink-based interface for sending per-task
+ and per-process statistics from the kernel to userspace.

- Say N if unsure.
+ Unlike BSD process accounting, the statistics are available
+ during the lifetime of tasks/processes as responses to
+ commands. Like BSD accounting, they are sent to user space on
+ task exit.
+
+ Netlink is a type of network socket used to transfer data
+ between the kernel and user space. For more information on
+ Netlink see <http://qos.ittc.ku.edu/netlink/html/index.html>
+
+ See <file:Documentation/accounting/taskstats.txt> for more
+ information on taskstats.
+
+ If unsure, say N.

config TASK_DELAY_ACCT
bool "Enable per-task delay accounting (EXPERIMENTAL)"
depends on TASKSTATS
help
- Collect information on time spent by a task waiting for system
- resources like cpu, synchronous block I/O completion and swapping
- in pages. Such statistics can help in setting a task's priorities
- relative to other tasks for cpu, io, rss limits etc.
+ Also collect information on time spent by a task waiting for
+ system resources like CPU, synchronous block I/O completion and
+ swapping in pages. Such statistics can help in setting a task's
+ priorities relative to other tasks for CPU, I/O, RSS limits etc.

- Say N if unsure.
+ If unsure, say N.

config TASK_XACCT
bool "Enable extended accounting over taskstats (EXPERIMENTAL)"
depends on TASKSTATS
help
- Collect extended task accounting data and send the data
- to userland for processing over the taskstats interface.
+ Also collect extended task accounting data and send
+ the data to userland for processing over the taskstats
+ interface.

- Say N if unsure.
+ If unsure, say N.

config TASK_IO_ACCOUNTING
bool "Enable per-task storage I/O accounting (EXPERIMENTAL)"
depends on TASK_XACCT
help
- Collect information on the number of bytes of storage I/O which this
- task has caused.
+ Also collect information on the number of bytes of storage
+ I/O which this task has caused.

- Say N if unsure.
+ If unsure, say N.

config USER_NS
bool "User Namespaces (EXPERIMENTAL)"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/