Re: [PATCH] mm/page_alloc.c: avoid inheritting current's flags when invoked in interrupt

2020-09-15 Thread Xu, Yanfei
On 9/16/20 9:17 AM, Andrew Morton wrote: On Tue, 15 Sep 2020 15:56:35 +0800 wrote: From: Yanfei Xu alloc_mask shouldn't inherit the current task's flags when __alloc_pages_nodemask is invoked in interrupt. ... --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4889,7 +4889,8 @@

Re: [PATCH] mm/page_alloc.c: avoid inheritting current's flags when invoked in interrupt

2020-09-15 Thread Andrew Morton
On Tue, 15 Sep 2020 15:56:35 +0800 wrote: > From: Yanfei Xu > > alloc_mask shouldn't inherit the current task's flags when > __alloc_pages_nodemask is invoked in interrupt. > > ... > > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4889,7 +4889,8 @@ __alloc_pages_nodemask(gfp_t gfp_mask,

[PATCH] mm/page_alloc.c: avoid inheritting current's flags when invoked in interrupt

2020-09-15 Thread yanfei.xu
From: Yanfei Xu alloc_mask shouldn't inherit the current task's flags when __alloc_pages_nodemask is invoked in interrupt. Signed-off-by: Yanfei Xu --- mm/page_alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index