File procps-ng-3.3.8-ignore-scan_unevictable_pages.patch of Package procps

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>

---
 src/sysctl.c |    1 +
 1 file changed, 1 insertion(+)

--- a/src/sysctl.c
+++ b/src/sysctl.c
@@ -64,6 +64,7 @@ static const char DEFAULT_PRELOAD[] = "/
 static const char *DEPRECATED[] = {
 	"base_reachable_time",
 	"retrans_time",
+	"scan_unevictable_pages",
 	""
 };
 /* Verboten parameters must never be read as they cause side-effects */
openSUSE Build Service is sponsored by