From 0f6a22fab62baf62894fcea3e73e9c5f280c4208 Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Wed, 7 Dec 2005 23:29:38 +0100 Subject: [PATCH] [multipathd] adjust oom_adj to the 2.6.14 standards As of 2.6.14, the kernel will only accept oom_adj values of > -17. Writing '-17' into oom_adj will be ignored. This patch fixes the value to -16. Hannes Reinecke, Suse --- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multipathd/main.c b/multipathd/main.c index cef6fc2..eee6556 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -1554,7 +1554,7 @@ child (void * param) } signal_init(); setscheduler(); - set_oom_adj(-17); + set_oom_adj(-16); vecs = gvecs = init_vecs(); if (!vecs) -- 2.7.4