Re: [PATCH] selinux: use __GFP_NOWARN with GFP_NOWAIT

From: Paul Moore
Date: Thu Jun 10 2021 - 19:13:42 EST


On Thu, Jun 10, 2021 at 7:06 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, 9 Jun 2021 09:37:17 -0700 Minchan Kim <minchan@xxxxxxxxxx> wrote:
>
> > In the field, we have seen lots of allocation failure from the call path below.
> >
> > ...
> >
> > Based on [1], selinux is tolerate for failure of memory allocation.
> > Then, use __GFP_NOWARN together.
> >
>
> Thanks. I trust that the selinux developers will process this patch.

That's the plan; this is in my review queue for this evening.

--
paul moore
www.paul-moore.com