Re: Re: How to avoid or reduce GFP_ATOMIC allocation failed

2019-03-07 Thread greg kh
On Fri, Mar 08, 2019 at 03:34:18PM +0800, wuzhouhui wrote: > > -Original Messages- > > From: "Greg KH" > > Sent Time: 2019-03-08 15:21:52 (Friday) > > To: wuzhouhui > > Cc: kernelnewbies@kernelnewbies.org > > Subject: Re: How to avoid or r

Re: Re: How to avoid or reduce GFP_ATOMIC allocation failed

2019-03-07 Thread wuzhouhui
> -Original Messages- > From: "Greg KH" > Sent Time: 2019-03-08 15:21:52 (Friday) > To: wuzhouhui > Cc: kernelnewbies@kernelnewbies.org > Subject: Re: How to avoid or reduce GFP_ATOMIC allocation failed > > On Fri, Mar 08, 2019 at 01:37:26PM +0800, w

Re: How to avoid or reduce GFP_ATOMIC allocation failed

2019-03-07 Thread Greg KH
On Fri, Mar 08, 2019 at 01:37:26PM +0800, wuzhouhui wrote: > Hi, > > I check kernel code and found that GFP_ATOMIC allocation will > use emergency pool and maybe failed if emergency pool is not > enough. And GFP_ATOMIC doesn't trigger reclaim (because of > ATOMIC) even if there are a lot of page c