aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/feature-removal-schedule.txt12
-rw-r--r--Documentation/filesystems/proc.txt105
-rw-r--r--Documentation/kernel-parameters.txt16
-rw-r--r--Documentation/sound/alsa/ALSA-Configuration.txt12
4 files changed, 143 insertions, 2 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 6a451f47d40f..c3b1430cf603 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -304,3 +304,15 @@ Why: The code says it was obsolete when it was written in 2001.
304Who: Richard Purdie <rpurdie@rpsys.net> 304Who: Richard Purdie <rpurdie@rpsys.net>
305 305
306--------------------------- 306---------------------------
307
308What: Wireless extensions over netlink (CONFIG_NET_WIRELESS_RTNETLINK)
309When: with the merge of wireless-dev, 2.6.22 or later
310Why: The option/code is
311 * not enabled on most kernels
312 * not required by any userspace tools (except an experimental one,
313 and even there only for some parts, others use ioctl)
314 * pointless since wext is no longer evolving and the ioctl
315 interface needs to be kept
316Who: Johannes Berg <johannes@sipsolutions.net>
317
318---------------------------
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 72af5de1effb..5484ab5efd4f 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -41,6 +41,7 @@ Table of Contents
41 2.11 /proc/sys/fs/mqueue - POSIX message queues filesystem 41 2.11 /proc/sys/fs/mqueue - POSIX message queues filesystem
42 2.12 /proc/<pid>/oom_adj - Adjust the oom-killer score 42 2.12 /proc/<pid>/oom_adj - Adjust the oom-killer score
43 2.13 /proc/<pid>/oom_score - Display current oom-killer score 43 2.13 /proc/<pid>/oom_score - Display current oom-killer score
44 2.14 /proc/<pid>/io - Display the IO accounting fields
44 45
45------------------------------------------------------------------------------ 46------------------------------------------------------------------------------
46Preface 47Preface
@@ -1990,3 +1991,107 @@ need to recompile the kernel, or even to reboot the system. The files in the
1990command to write value into these files, thereby changing the default settings 1991command to write value into these files, thereby changing the default settings
1991of the kernel. 1992of the kernel.
1992------------------------------------------------------------------------------ 1993------------------------------------------------------------------------------
1994
19952.14 /proc/<pid>/io - Display the IO accounting fields
1996-------------------------------------------------------
1997
1998This file contains IO statistics for each running process
1999
2000Example
2001-------
2002
2003test:/tmp # dd if=/dev/zero of=/tmp/test.dat &
2004[1] 3828
2005
2006test:/tmp # cat /proc/3828/io
2007rchar: 323934931
2008wchar: 323929600
2009syscr: 632687
2010syscw: 632675
2011read_bytes: 0
2012write_bytes: 323932160
2013cancelled_write_bytes: 0
2014
2015
2016Description
2017-----------
2018
2019rchar
2020-----
2021
2022I/O counter: chars read
2023The number of bytes which this task has caused to be read from storage. This
2024is simply the sum of bytes which this process passed to read() and pread().
2025It includes things like tty IO and it is unaffected by whether or not actual
2026physical disk IO was required (the read might have been satisfied from
2027pagecache)
2028
2029
2030wchar
2031-----
2032
2033I/O counter: chars written
2034The number of bytes which this task has caused, or shall cause to be written
2035to disk. Similar caveats apply here as with rchar.
2036
2037
2038syscr
2039-----
2040
2041I/O counter: read syscalls
2042Attempt to count the number of read I/O operations, i.e. syscalls like read()
2043and pread().
2044
2045
2046syscw
2047-----
2048
2049I/O counter: write syscalls
2050Attempt to count the number of write I/O operations, i.e. syscalls like
2051write() and pwrite().
2052
2053
2054read_bytes
2055----------
2056
2057I/O counter: bytes read
2058Attempt to count the number of bytes which this process really did cause to
2059be fetched from the storage layer. Done at the submit_bio() level, so it is
2060accurate for block-backed filesystems. <please add status regarding NFS and
2061CIFS at a later time>
2062
2063
2064write_bytes
2065-----------
2066
2067I/O counter: bytes written
2068Attempt to count the number of bytes which this process caused to be sent to
2069the storage layer. This is done at page-dirtying time.
2070
2071
2072cancelled_write_bytes
2073---------------------
2074
2075The big inaccuracy here is truncate. If a process writes 1MB to a file and
2076then deletes the file, it will in fact perform no writeout. But it will have
2077been accounted as having caused 1MB of write.
2078In other words: The number of bytes which this process caused to not happen,
2079by truncating pagecache. A task can cause "negative" IO too. If this task
2080truncates some dirty pagecache, some IO which another task has been accounted
2081for (in it's write_bytes) will not be happening. We _could_ just subtract that
2082from the truncating task's write_bytes, but there is information loss in doing
2083that.
2084
2085
2086Note
2087----
2088
2089At its current implementation state, this is a bit racy on 32-bit machines: if
2090process A reads process B's /proc/pid/io while process B is updating one of
2091those 64-bit counters, process A could see an intermediate result.
2092
2093
2094More information about this can be found within the taskstats documentation in
2095Documentation/accounting.
2096
2097------------------------------------------------------------------------------
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 757dd994b879..914119309ddb 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1686,6 +1686,22 @@ and is between 256 and 4096 characters. It is defined in the file
1686 stifb= [HW] 1686 stifb= [HW]
1687 Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]] 1687 Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]]
1688 1688
1689 sunrpc.pool_mode=
1690 [NFS]
1691 Control how the NFS server code allocates CPUs to
1692 service thread pools. Depending on how many NICs
1693 you have and where their interrupts are bound, this
1694 option will affect which CPUs will do NFS serving.
1695 Note: this parameter cannot be changed while the
1696 NFS server is running.
1697
1698 auto the server chooses an appropriate mode
1699 automatically using heuristics
1700 global a single global pool contains all CPUs
1701 percpu one pool for each CPU
1702 pernode one pool for each NUMA node (equivalent
1703 to global on non-NUMA machines)
1704
1689 swiotlb= [IA-64] Number of I/O TLB slabs 1705 swiotlb= [IA-64] Number of I/O TLB slabs
1690 1706
1691 switches= [HW,M68k] 1707 switches= [HW,M68k]
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt
index c30ff1bb2d10..db398a6441c1 100644
--- a/Documentation/sound/alsa/ALSA-Configuration.txt
+++ b/Documentation/sound/alsa/ALSA-Configuration.txt
@@ -370,7 +370,9 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
370 mpu_port - 0x300,0x310,0x320,0x330 = legacy port, 370 mpu_port - 0x300,0x310,0x320,0x330 = legacy port,
371 1 = integrated PCI port, 371 1 = integrated PCI port,
372 0 = disable (default) 372 0 = disable (default)
373 fm_port - 0x388 (default), 0 = disable (default) 373 fm_port - 0x388 = legacy port,
374 1 = integrated PCI port (default),
375 0 = disable
374 soft_ac3 - Software-conversion of raw SPDIF packets (model 033 only) 376 soft_ac3 - Software-conversion of raw SPDIF packets (model 033 only)
375 (default = 1) 377 (default = 1)
376 joystick_port - Joystick port address (0 = disable, 1 = auto-detect) 378 joystick_port - Joystick port address (0 = disable, 1 = auto-detect)
@@ -895,10 +897,16 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
895 can be adjusted. Appearing only when compiled with 897 can be adjusted. Appearing only when compiled with
896 $CONFIG_SND_DEBUG=y 898 $CONFIG_SND_DEBUG=y
897 899
898 STAC9200/9205/9220/9221/9254 900 STAC9200/9205/9254
901 ref Reference board
902
903 STAC9220/9221
899 ref Reference board 904 ref Reference board
900 3stack D945 3stack 905 3stack D945 3stack
901 5stack D945 5stack + SPDIF 906 5stack D945 5stack + SPDIF
907 macmini Intel Mac Mini
908 macbook Intel Mac Book
909 macbook-pro Intel Mac Book Pro
902 910
903 STAC9202/9250/9251 911 STAC9202/9250/9251
904 ref Reference board, base config 912 ref Reference board, base config