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

From: Andrew Morton
Date: Tue Dec 10 2019 - 20:31:16 EST


On Sun, 8 Dec 2019 23:34:58 -0800 Christoph Hellwig <hch@xxxxxxxxxxxxx> 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.