Re: [PATCH 1/3] mm: add apply_to_existing_pages helper

Andrew Morton
2019-12-11T01:31:17Z

On Sun, 8 Dec 2019 23:34:58 -0800 Christoph Hellwig <hch@infradead.org> wrote:

> Or a flags argument with descriptive flags to the existing function?
> These magic bool arguments don't scale..

True. But it's easy enough to do s/bool create/enum mode/ in the
future should the need arise. For now, the code is clearer.