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 3d804f41e649..a13bd4dfaeb1 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -843,6 +843,16 @@ static struct ctl_table kern_table[] = { | |||
843 | .proc_handler = &proc_dointvec, | 843 | .proc_handler = &proc_dointvec, |
844 | }, | 844 | }, |
845 | #endif | 845 | #endif |
846 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
847 | { | ||
848 | .ctl_name = CTL_UNNUMBERED, | ||
849 | .procname = "scan_unevictable_pages", | ||
850 | .data = &scan_unevictable_pages, | ||
851 | .maxlen = sizeof(scan_unevictable_pages), | ||
852 | .mode = 0644, | ||
853 | .proc_handler = &scan_unevictable_handler, | ||
854 | }, | ||
855 | #endif | ||
846 | /* | 856 | /* |
847 | * NOTE: do not add new entries to this table unless you have read | 857 | * NOTE: do not add new entries to this table unless you have read |
848 | * Documentation/sysctl/ctl_unnumbered.txt | 858 | * Documentation/sysctl/ctl_unnumbered.txt |