Re: [PATCH v2] net: fix sk_page_frag() recursion from memory reclaim

From: Shakeel Butt
Date: Thu Oct 31 2019 - 15:15:18 EST


On Thu, Oct 31, 2019 at 12:00 PM Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> On Thu, Oct 31, 2019 at 11:51:57AM -0700, Shakeel Butt wrote:
> > > Yeah, PF_MEMALLOC is likely the better condition to check here as we
> > > primarily want to know whether %current might be recursing and that
> > > should be indicated reliably with PF_MEMALLOC. Wanna prep a patch for
> > > it?
> >
> > Sure, I will keep your commit message and authorship (if you are ok with it).
>
> I think the patch already got merged, so it may be easier to do an
> incremental one.

Oh ok, I will send the incremental one once I have this patch in the mm tree.

>
> Thanks.
>
> --
> tejun