[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aFmtPIAYnp4oeAZ1@gourry-fedora-PF4VCD3F>
Date: Mon, 23 Jun 2025 14:38:36 -0500
From: Gregory Price <gourry@...rry.net>
To: David Hildenbrand <david@...hat.com>
Cc: Bijan Tabatabai <bijan311@...il.com>, damon@...ts.linux.dev,
linux-mm@...ck.org, linux-kernel@...r.kernel.org, sj@...nel.org,
akpm@...ux-foundation.org, ziy@...dia.com, matthew.brost@...el.com,
joshua.hahnjy@...il.com, rakie.kim@...com, byungchul@...com,
ying.huang@...ux.alibaba.com, apopple@...dia.com,
bijantabatab@...ron.com, venkataravis@...ron.com,
emirakhur@...ron.com, ajayjoshi@...ron.com, vtavarespetr@...ron.com
Subject: Re: [RFC PATCH v2 1/2] mm/mempolicy: Expose get_il_weight() to MM
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
Powered by blists - more mailing lists