Re: [Patch v4 1/2] freezer: check OOM kill while being frozen

From: Tejun Heo
Date: Fri Sep 12 2014 - 19:49:03 EST


Hello, Michal.

On Wed, Sep 10, 2014 at 03:24:17PM +0200, Michal Hocko wrote:
> What do you think about this way to help distinguish kernel threads and
> user processes and keep the future maintenance of freezer saner?

I'm not sure either way. Please note that we have quite a few
wrappers around try_to_freeze() - freezable_schedule*() and
wait_event_freezable*() - and several places where a userland can be
frozen. Are we gonna introduce an alternate versions for all of them?
What do we actually gain?

Thanks.

--
tejun
--
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/