Re: [RFC PATCH v2 1/2] mm/mempolicy: Expose get_il_weight() to MM
From: Gregory Price
Date: Mon Jun 23 2025 - 15:38:49 EST
On Mon, Jun 23, 2025 at 09:14:34PM +0200, David Hildenbrand wrote:
> > +u8 get_il_weight(int node)
>
> The function name is shockingly confusing when used outside this file. Do we
> have some namespace to at least highlight what this is about?
>
> node_interleave_weight() might be a lot clearer?
>
this is fair and my fault as I didn't consider whether it'd ever be used
outside mempolicy. So i agree it should be renamed or wrapped.
~Gregory