Subject: Re: [PATCH 2/5] Revert "oom: give the dying task a higher priority"

On Wed, Mar 23, 2011 at 04:42:29PM +0900, KAMEZAWA Hiroyuki wrote:
| On Tue, 22 Mar 2011 20:06:48 +0900 (JST)
| KOSAKI Motohiro <[email protected]> wrote:
|
| > This reverts commit 93b43fa55088fe977503a156d1097cc2055449a2.
| >
| > The commit dramatically improve oom killer logic when fork-bomb
| > occur. But, I've found it has nasty corner case. Now cpu cgroup
| > has strange default RT runtime. It's 0! That said, if a process
| > under cpu cgroup promote RT scheduling class, the process never
| > run at all.
| >
| > Eventually, kernel may hang up when oom kill occur.
| >
| > The author need to resubmit it as adding knob and disabled
| > by default if he really need this feature.
| >
| > Cc: Luis Claudio R. Goncalves <[email protected]>
| > Signed-off-by: KOSAKI Motohiro <[email protected]>
|
| Acked-by: KAMEZAWA Hiroyuki <[email protected]>

The original patch was written to fix an issue observed in 2.6.24.7-rt.
As the logic sounded useful, I ported it to upstream. Anyway,I am trying
a few ideas to rework that patch. In the meantime, I'm pretty fine with
reverting the commit.

Acked-by: Luis Claudio R. Gon?alves <[email protected]>

--
[ Luis Claudio R. Goncalves Bass - Gospel - RT ]
[ Fingerprint: 4FDD B8C4 3C59 34BD 8BE9 2696 7203 D980 A448 C8F8 ]


2011-03-24 00:07:11

by KOSAKI Motohiro

[permalink] [raw]
Subject: Re: [PATCH 2/5] Revert "oom: give the dying task a higher priority"

> On Wed, Mar 23, 2011 at 04:42:29PM +0900, KAMEZAWA Hiroyuki wrote:
> | On Tue, 22 Mar 2011 20:06:48 +0900 (JST)
> | KOSAKI Motohiro <[email protected]> wrote:
> |
> | > This reverts commit 93b43fa55088fe977503a156d1097cc2055449a2.
> | >
> | > The commit dramatically improve oom killer logic when fork-bomb
> | > occur. But, I've found it has nasty corner case. Now cpu cgroup
> | > has strange default RT runtime. It's 0! That said, if a process
> | > under cpu cgroup promote RT scheduling class, the process never
> | > run at all.
> | >
> | > Eventually, kernel may hang up when oom kill occur.
> | >
> | > The author need to resubmit it as adding knob and disabled
> | > by default if he really need this feature.
> | >
> | > Cc: Luis Claudio R. Goncalves <[email protected]>
> | > Signed-off-by: KOSAKI Motohiro <[email protected]>
> |
> | Acked-by: KAMEZAWA Hiroyuki <[email protected]>
>
> The original patch was written to fix an issue observed in 2.6.24.7-rt.
> As the logic sounded useful, I ported it to upstream. Anyway,I am trying
> a few ideas to rework that patch. In the meantime, I'm pretty fine with
> reverting the commit.
>
> Acked-by: Luis Claudio R. Gon?alves <[email protected]>

Ok, and then, I'll drop [patch 3/5] too. I hope to focus to discuss your idea.