diff options
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 617d41e4d6a0..b3cc73931d1f 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -833,6 +833,16 @@ static struct ctl_table kern_table[] = { | |||
| 833 | .proc_handler = &proc_dointvec, | 833 | .proc_handler = &proc_dointvec, |
| 834 | }, | 834 | }, |
| 835 | #endif | 835 | #endif |
| 836 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
| 837 | { | ||
| 838 | .ctl_name = CTL_UNNUMBERED, | ||
| 839 | .procname = "scan_unevictable_pages", | ||
| 840 | .data = &scan_unevictable_pages, | ||
| 841 | .maxlen = sizeof(scan_unevictable_pages), | ||
| 842 | .mode = 0644, | ||
| 843 | .proc_handler = &scan_unevictable_handler, | ||
| 844 | }, | ||
| 845 | #endif | ||
| 836 | /* | 846 | /* |
| 837 | * NOTE: do not add new entries to this table unless you have read | 847 | * NOTE: do not add new entries to this table unless you have read |
| 838 | * Documentation/sysctl/ctl_unnumbered.txt | 848 | * Documentation/sysctl/ctl_unnumbered.txt |
