|
@@ -902,16 +902,6 @@ static struct ctl_table kern_table[] = {
|
|
|
.proc_handler = &proc_dointvec,
|
|
|
},
|
|
|
#endif
|
|
|
-#ifdef CONFIG_UNEVICTABLE_LRU
|
|
|
- {
|
|
|
- .ctl_name = CTL_UNNUMBERED,
|
|
|
- .procname = "scan_unevictable_pages",
|
|
|
- .data = &scan_unevictable_pages,
|
|
|
- .maxlen = sizeof(scan_unevictable_pages),
|
|
|
- .mode = 0644,
|
|
|
- .proc_handler = &scan_unevictable_handler,
|
|
|
- },
|
|
|
-#endif
|
|
|
#ifdef CONFIG_SLOW_WORK
|
|
|
{
|
|
|
.ctl_name = CTL_UNNUMBERED,
|
|
@@ -1302,6 +1292,16 @@ static struct ctl_table vm_table[] = {
|
|
|
.extra2 = &one,
|
|
|
},
|
|
|
#endif
|
|
|
+#ifdef CONFIG_UNEVICTABLE_LRU
|
|
|
+ {
|
|
|
+ .ctl_name = CTL_UNNUMBERED,
|
|
|
+ .procname = "scan_unevictable_pages",
|
|
|
+ .data = &scan_unevictable_pages,
|
|
|
+ .maxlen = sizeof(scan_unevictable_pages),
|
|
|
+ .mode = 0644,
|
|
|
+ .proc_handler = &scan_unevictable_handler,
|
|
|
+ },
|
|
|
+#endif
|
|
|
/*
|
|
|
* NOTE: do not add new entries to this table unless you have read
|
|
|
* Documentation/sysctl/ctl_unnumbered.txt
|