[stgt] [PATCH] use oom_score_adj instead of oom_adj for avoiding OOM killer
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Sun Jul 21 15:28:33 CEST 2013
On Sun, 21 Jul 2013 22:17:46 +0900
Hitoshi Mitake <mitake.hitoshi at gmail.com> wrote:
> Using /proc/self/oom_adj for avoiding OOM killer of linux is
> deprecated because it will be removed in the future. This patch lets
> tgtd use /proc/self/oom_score_adj if it is available.
>
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at gmail.com>
> ---
> usr/tgtd.c | 17 ++++++++++++++---
> 1 files changed, 14 insertions(+), 3 deletions(-)
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list