2014-03-27 06:15:23 +01:00
|
|
|
From: Takashi Iwai <tiwai@suse.de>
|
|
|
|
Subject: Ignore scan_unevictable_pages entry in sysctl, too
|
|
|
|
References: bnc#868888
|
|
|
|
|
|
|
|
scan_unevictable_pages sysctl is deprecated in the recent kernel.
|
|
|
|
Ignore it for avoiding the kernel warning message.
|
|
|
|
|
|
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
|
|
|
|
---
|
|
|
|
sysctl.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
--- a/sysctl.c
|
|
|
|
+++ b/sysctl.c
|
2018-04-20 17:24:44 +02:00
|
|
|
@@ -59,6 +59,7 @@ static const char DEFAULT_PRELOAD[] = "/
|
2014-03-27 06:15:23 +01:00
|
|
|
static const char *DEPRECATED[] = {
|
|
|
|
"base_reachable_time",
|
|
|
|
"retrans_time",
|
|
|
|
+ "scan_unevictable_pages",
|
|
|
|
""
|
|
|
|
};
|
|
|
|
static bool IgnoreDeprecated;
|