| Date | Tue, 17 Nov 2009 05:15:26 -0500 | From | Christoph Hellwig <> | Subject | Re: [PATCH 0/7] Kill PF_MEMALLOC abuse |
| |
On Tue, Nov 17, 2009 at 04:16:04PM +0900, KOSAKI Motohiro wrote: > Some subsystem paid attention (1) only, and start to use PF_MEMALLOC abuse. > But, the fact is, PF_MEMALLOC is the promise of "I have lots freeable memory. > if I allocate few memory, I can return more much meory to the system!". > Non MM subsystem must not use PF_MEMALLOC. Memory reclaim > need few memory, anyone must not prevent it. Otherwise the system cause > mysterious hang-up and/or OOM Killer invokation.
And that's exactly the promises xfsbufd gives. It writes out dirty metadata buffers and will free lots of memory if you kick it.
|