diff options
author | Wanpeng Li <liwp@linux.vnet.ibm.com> | 2012-07-31 19:41:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 21:42:40 -0400 |
commit | 3965c9ae47d64aadf6f13b6fcd37767b83c0689a (patch) | |
tree | 9896fbd841edbaa8e374b593ad0f7b96191cda5d /Documentation/sysctl | |
parent | deaf386ee58d5336bbef8959bf304573afb67c20 (diff) |
mm: prepare for removal of obsolete /proc/sys/vm/nr_pdflush_threads
Since per-BDI flusher threads were introduced in 2.6, the pdflush
mechanism is not used any more. But the old interface exported through
/proc/sys/vm/nr_pdflush_threads still exists and is obviously useless.
For back-compatibility, printk warning information and return 2 to notify
the users that the interface is removed.
Signed-off-by: Wanpeng Li <liwp@linux.vnet.ibm.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sysctl')
-rw-r--r-- | Documentation/sysctl/vm.txt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index 84eb25cd69aa..06d662b1c5d5 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt | |||
@@ -42,7 +42,6 @@ Currently, these files are in /proc/sys/vm: | |||
42 | - mmap_min_addr | 42 | - mmap_min_addr |
43 | - nr_hugepages | 43 | - nr_hugepages |
44 | - nr_overcommit_hugepages | 44 | - nr_overcommit_hugepages |
45 | - nr_pdflush_threads | ||
46 | - nr_trim_pages (only if CONFIG_MMU=n) | 45 | - nr_trim_pages (only if CONFIG_MMU=n) |
47 | - numa_zonelist_order | 46 | - numa_zonelist_order |
48 | - oom_dump_tasks | 47 | - oom_dump_tasks |
@@ -426,16 +425,6 @@ See Documentation/vm/hugetlbpage.txt | |||
426 | 425 | ||
427 | ============================================================== | 426 | ============================================================== |
428 | 427 | ||
429 | nr_pdflush_threads | ||
430 | |||
431 | The current number of pdflush threads. This value is read-only. | ||
432 | The value changes according to the number of dirty pages in the system. | ||
433 | |||
434 | When necessary, additional pdflush threads are created, one per second, up to | ||
435 | nr_pdflush_threads_max. | ||
436 | |||
437 | ============================================================== | ||
438 | |||
439 | nr_trim_pages | 428 | nr_trim_pages |
440 | 429 | ||
441 | This is available only on NOMMU kernels. | 430 | This is available only on NOMMU kernels. |