]> Git Repo - linux.git/commitdiff
sysctl: remove /proc/sys/vm/nr_pdflush_threads
authorJens Axboe <[email protected]>
Sun, 1 Oct 2017 05:39:05 +0000 (23:39 -0600)
committerJens Axboe <[email protected]>
Wed, 4 Oct 2017 17:24:16 +0000 (11:24 -0600)
This tunable has been obsolete since 2.6.32, and writes to the
file have been failing and complaining in dmesg since then:

nr_pdflush_threads exported in /proc is scheduled for removal

That was 8 years ago. Remove the file ABI obsolete notice, and
the sysfs file.

Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads [deleted file]
kernel/sysctl.c

diff --git a/Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads b/Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads
deleted file mode 100644 (file)
index b0b0eeb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-What:          /proc/sys/vm/nr_pdflush_threads
-Date:          June 2012
-Contact:       Wanpeng Li <[email protected]>
-Description: Since pdflush is replaced by per-BDI flusher, the interface of old pdflush
-             exported in /proc/sys/vm/ should be removed.
index 6648fbbb8157fc12703d02fa0fdc9ff85c527ac4..a5dd8d82c25385f2de8a4753ce49cb24777351dd 100644 (file)
@@ -1344,11 +1344,6 @@ static struct ctl_table vm_table[] = {
                .proc_handler   = dirtytime_interval_handler,
                .extra1         = &zero,
        },
-       {
-               .procname       = "nr_pdflush_threads",
-               .mode           = 0444 /* read-only */,
-               .proc_handler   = pdflush_proc_obsolete,
-       },
        {
                .procname       = "swappiness",
                .data           = &vm_swappiness,
This page took 0.057712 seconds and 4 git commands to generate.