projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27bc3f3
)
[multipathd] adjust oom_adj to the 2.6.14 standards
author
Christophe Varoqui
<root@xa-s05.(none)>
Wed, 7 Dec 2005 22:29:38 +0000
(23:29 +0100)
committer
Christophe Varoqui
<root@xa-s05.(none)>
Wed, 7 Dec 2005 22:29:38 +0000
(23:29 +0100)
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
patch
|
blob
|
history
diff --git
a/multipathd/main.c
b/multipathd/main.c
index
cef6fc2
..
eee6556
100644
(file)
--- a/
multipathd/main.c
+++ b/
multipathd/main.c
@@
-1554,7
+1554,7
@@
child (void * param)
}
signal_init();
setscheduler();
- set_oom_adj(-1
7
);
+ set_oom_adj(-1
6
);
vecs = gvecs = init_vecs();
if (!vecs)