[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKPOu+_LbVg4YNumZWAc6R+bA+_LTBniUkQgH=WRaFDCjnDoDg@mail.gmail.com>
Date: Thu, 15 Feb 2024 20:33:28 +0100
From: Max Kellermann <max.kellermann@...os.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 09/14] linux/mm.h: move usage count functions to mm/page_usage.h
On Thu, Feb 15, 2024 at 8:30 PM Matthew Wilcox <willy@...radead.org> wrote:
> Why does this want to be its own header instead of being part of
> page_ref.h?
Because I thought page_ref.h was a low-level header and the new one
would be higher-level with (slightly) heavier dependencies. Keeping
different layers of code in separate headers helps keeping
dependencies lean. I used the term "usage" from the explanatory
comment at the top. I'll amend the patch description to explain that
detail.
Powered by blists - more mailing lists