diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sysctl.c | 8 | ||||
| -rw-r--r-- | kernel/sysctl_binary.c | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 97186b99b0e4..6502d35a25ba 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -1101,11 +1101,9 @@ static struct ctl_table vm_table[] = { | |||
| 1101 | .extra1 = &zero, | 1101 | .extra1 = &zero, |
| 1102 | }, | 1102 | }, |
| 1103 | { | 1103 | { |
| 1104 | .procname = "nr_pdflush_threads", | 1104 | .procname = "nr_pdflush_threads", |
| 1105 | .data = &nr_pdflush_threads, | 1105 | .mode = 0444 /* read-only */, |
| 1106 | .maxlen = sizeof nr_pdflush_threads, | 1106 | .proc_handler = pdflush_proc_obsolete, |
| 1107 | .mode = 0444 /* read-only*/, | ||
| 1108 | .proc_handler = proc_dointvec, | ||
| 1109 | }, | 1107 | }, |
| 1110 | { | 1108 | { |
| 1111 | .procname = "swappiness", | 1109 | .procname = "swappiness", |
diff --git a/kernel/sysctl_binary.c b/kernel/sysctl_binary.c index a650694883a1..65bdcf198d4e 100644 --- a/kernel/sysctl_binary.c +++ b/kernel/sysctl_binary.c | |||
| @@ -147,7 +147,7 @@ static const struct bin_table bin_vm_table[] = { | |||
| 147 | { CTL_INT, VM_DIRTY_RATIO, "dirty_ratio" }, | 147 | { CTL_INT, VM_DIRTY_RATIO, "dirty_ratio" }, |
| 148 | /* VM_DIRTY_WB_CS "dirty_writeback_centisecs" no longer used */ | 148 | /* VM_DIRTY_WB_CS "dirty_writeback_centisecs" no longer used */ |
| 149 | /* VM_DIRTY_EXPIRE_CS "dirty_expire_centisecs" no longer used */ | 149 | /* VM_DIRTY_EXPIRE_CS "dirty_expire_centisecs" no longer used */ |
| 150 | { CTL_INT, VM_NR_PDFLUSH_THREADS, "nr_pdflush_threads" }, | 150 | /* VM_NR_PDFLUSH_THREADS "nr_pdflush_threads" no longer used */ |
| 151 | { CTL_INT, VM_OVERCOMMIT_RATIO, "overcommit_ratio" }, | 151 | { CTL_INT, VM_OVERCOMMIT_RATIO, "overcommit_ratio" }, |
| 152 | /* VM_PAGEBUF unused */ | 152 | /* VM_PAGEBUF unused */ |
| 153 | /* VM_HUGETLB_PAGES "nr_hugepages" no longer used */ | 153 | /* VM_HUGETLB_PAGES "nr_hugepages" no longer used */ |
