procps/procps-ng-3.3.8-ignore-scan_unevictable_pages.patch
Stephan Kulow 8c198c7411 Accepting request 227466 from Base:System
- Ignore scan_unevictable_pages sysctl entry (bnc#868888)
  procps-ng-3.3.8-ignore-scan_unevictable_pages.patch (forwarded request 227459 from tiwai)

OBS-URL: https://build.opensuse.org/request/show/227466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=83
2014-03-27 05:15:23 +00:00

24 lines
575 B
Diff

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
@@ -57,6 +57,7 @@ static const char DEFAULT_PRELOAD[] = "/
static const char *DEPRECATED[] = {
"base_reachable_time",
"retrans_time",
+ "scan_unevictable_pages",
""
};
static bool IgnoreDeprecated;