Messages in this thread | | | Subject | Re: [patch 1/5] mm: add nofail variants of kmalloc kcalloc and kzalloc | From | Peter Zijlstra <> | Date | Wed, 25 Aug 2010 15:35:42 +0200 |
| |
On Wed, 2010-08-25 at 23:24 +1000, Dave Chinner wrote: > > That is, the guarantee that we will always make progress simply does > not exist in filesystems, so a mempool-like concept seems to me to > be doomed from the start....
While I appreciate that it might be somewhat (a lot) harder for a filesystem to provide that guarantee, I'd be deeply worried about your claim that its impossible.
It would render a system without swap very prone to deadlocks. Even with the very tight dirty page accounting we currently have you can fill all your memory with anonymous pages, at which point there's nothing free and you require writeout of dirty pages to succeed.
| |