Re: [PATCH] selinux: use __GFP_NOWARN with GFP_NOWAIT

From: Paul Moore
Date: Thu Jun 10 2021 - 21:15:42 EST


On Thu, Jun 10, 2021 at 7:13 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> 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.

Looks fine to me, merged into selinux/next - thanks!

--
paul moore
www.paul-moore.com