Re: Newbie's question: memory allocation when reclaiming memory

2015-11-05 Thread Vlastimil Babka
On 10/26/2015 12:44 PM, Tetsuo Handa wrote: > May I ask a newbie question? Say, there is some amount of memory pages > which can be reclaimed if they are flushed to storage. And lower layer > might issue memory allocation request in a way which won't cause reclaim > deadlock (e.g. using GFP_NOFS or

Newbie's question: memory allocation when reclaiming memory

2015-10-26 Thread Tetsuo Handa
May I ask a newbie question? Say, there is some amount of memory pages which can be reclaimed if they are flushed to storage. And lower layer might issue memory allocation request in a way which won't cause reclaim deadlock (e.g. using GFP_NOFS or GFP_NOIO) when flushing to storage, isn't it? What