Re: [RFC] per thread page reservation patch
From: Andrew Morton <hidden>
Date: 2005-01-07 23:06:54
Also in:
lkml
From: Andrew Morton <hidden>
Date: 2005-01-07 23:06:54
Also in:
lkml
Nikita Danilov [off-list ref] wrote:
quoted
And the whole idea is pretty flaky really - how can one precalculate how much memory an arbitrary md-on-dm-on-loop-on-md-on-NBD stack will want to use? It really would be better if we could drop the whole patch and make reiser4 behave more sanely when its writepage is called with for_reclaim=1.Reiser4 doesn't use this for ->writepage(), by the way. This is used by tree balancing code to assure that balancing cannot get -ENOMEM in the middle of tree modification, because undo is _so_ very complicated.
Oh. And that involves performing I/O, yes? Why does the filesystem risk going oom during the rebalance anyway? Is it doing atomic allocations? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>