March 8, 2019
5:37 a.m.
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 caches. So my question is how to avoid or reduce GFP_ATOMIC allocation failed if there are enough reclaimable memory? Is there some kernel parameters can be configured? Thanks.