lkml.org 
[lkml]   [2020]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary
From
Date
On 2020/08/20 22:34, Christian Brauner wrote:
> On Thu, Aug 20, 2020 at 03:26:31PM +0200, Michal Hocko wrote:
>> If you can handle vfork by other means then I am all for it. There were
>> no patches in that regard proposed yet. Maybe it will turn out simpler
>> then the heavy lifting we have to do in the oom specific code.
>
> Eric's not wrong. I fiddled with this too this morning but since
> oom_score_adj is fiddled with in a bunch of places this seemed way more
> code churn then what's proposed here.

I prefer simply reverting commit 44a70adec910d692 ("mm, oom_adj: make sure
processes sharing mm have same view of oom_score_adj").

https://lore.kernel.org/patchwork/patch/1037208/

\
 
 \ /
  Last update: 2020-08-20 16:12    [W:0.083 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site