Re: [PATCH 2/2] memcg, fsnotify: no oom-kill for remote memcg charging

From: Michal Hocko
Date: Mon Apr 29 2019 - 17:41:31 EST


On Mon 29-04-19 10:13:32, Shakeel Butt wrote:
[...]
> /*
> * For queues with unlimited length lost events are not expected and
> * can possibly have security implications. Avoid losing events when
> * memory is short.
> + *
> + * Note: __GFP_NOFAIL takes precedence over __GFP_RETRY_MAYFAIL.
> */

No, I there is no rule like that. Combining the two is undefined
currently and I do not think we want to legitimize it. What does it even
mean?
--
Michal Hocko
SUSE Labs