How to avoid or reduce GFP_ATOMIC allocation failed

wuzhouhui wuzhouhui14 at mails.ucas.ac.cn
Fri Mar 8 00:37:26 EST 2019


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.


More information about the Kernelnewbies mailing list