Re: [PATCH 3/3] mlock: avoid dirtying pages and triggering writeback

Peter Zijlstra
2010-11-17T22:18:54Z

On Wed, 2010-11-17 at 14:05 -0800, Michel Lespinasse wrote:
>
> Really, my understanding is that not pre-allocating filesystem blocks
> is just fine. This is, after all, what happens with ext3 and it's
> never been reported as a bug (that I know of).
>
fwiw I'm perfectly fine with it

> If filesystem people's feedback is that they really want mlock() to
> continue pre-allocating blocks, maybe we can just do it using
> fallocate() rather than page_mkwrite() callbacks ?

Sounds sensible..