aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-10-01 01:39:05 -0400
committerJens Axboe <axboe@kernel.dk>2017-10-04 13:24:16 -0400
commitb35bd0d9f8a8ea17aae40893e18274d191a2d2c5 (patch)
tree2bb61e50c89d0c96d393b9c0e6aa2e60d3f00304 /kernel/sysctl.c
parent85009b4f5f0399669a44f07cb9a5622c0e71d419 (diff)
sysctl: remove /proc/sys/vm/nr_pdflush_threads
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 <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 6648fbbb8157..a5dd8d82c253 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1345,11 +1345,6 @@ static struct ctl_table vm_table[] = {
1345 .extra1 = &zero, 1345 .extra1 = &zero,
1346 }, 1346 },
1347 { 1347 {
1348 .procname = "nr_pdflush_threads",
1349 .mode = 0444 /* read-only */,
1350 .proc_handler = pdflush_proc_obsolete,
1351 },
1352 {
1353 .procname = "swappiness", 1348 .procname = "swappiness",
1354 .data = &vm_swappiness, 1349 .data = &vm_swappiness,
1355 .maxlen = sizeof(vm_swappiness), 1350 .maxlen = sizeof(vm_swappiness),