Re: [PATCH 3/4] kernel.h: Add non_block_start/end()

From: Andrew Morton
Date: Thu Aug 22 2019 - 19:14:32 EST


On Tue, 20 Aug 2019 22:24:40 +0200 Daniel Vetter <daniel@xxxxxxxx> wrote:

> Hi Peter,
>
> Iirc you've been involved at least somewhat in discussing this. -mm folks
> are a bit undecided whether these new non_block semantics are a good idea.
> Michal Hocko still is in support, but Andrew Morton and Jason Gunthorpe
> are less enthusiastic. Jason said he's ok with merging the hmm side of
> this if scheduler folks ack. If not, then I'll respin with the
> preempt_disable/enable instead like in v1.

I became mollified once Michel explained the rationale. I think it's
OK. It's very specific to the oom reaper and hopefully won't be used
more widely(?).