Re: [PATCH] Revert oom rewrite series

From: David Rientjes
Date: Tue Nov 16 2010 - 01:43:44 EST


On Mon, 15 Nov 2010, Valdis.Kletnieks@xxxxxx wrote:

> Make that 2 common apps:
>
> % uname -a
> Linux turing-police.cc.vt.edu 2.6.37-rc1-mmotm1109 #1 SMP PREEMPT Wed Nov 10 12:30:17 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
> % dmesg | grep oom
> [ 89.981594] sshd (4168): /proc/4168/oom_adj is deprecated, please use /proc/4168/oom_score_adj instead.
> % rpm -q openssh
> openssh-5.6p1-16.fc15.x86_64
>
> 5.6p1 is the latest-n-greatest released version on www.openssh.org, so somebody
> probably needs to rattle their chain...
>

Thanks, Darren Tucker fixed this a few hours after I reported it on the
openssh bugzilla, the patch is at
https://bugzilla.mindrot.org/show_bug.cgi?id=1838 -- it uses oom_score_adj
if it exists and then falls back to oom_adj if running on an older kernel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/