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

From: Peter Zijlstra
Date: Wed Nov 17 2010 - 17:18:57 EST


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..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/