[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce57dcbb-5464-3340-34d0-af1e3f191b85@intel.com>
Date: Thu, 23 Mar 2023 10:58:14 -0700
From: Reinette Chatre <reinette.chatre@...el.com>
To: Peter Newman <peternewman@...gle.com>, <fenghua.yu@...el.com>
CC: <Babu.Moger@....com>, <bp@...en8.de>,
<dave.hansen@...ux.intel.com>, <eranian@...gle.com>,
<gupasani@...gle.com>, <hpa@...or.com>, <james.morse@....com>,
<linux-kernel@...r.kernel.org>, <mingo@...hat.com>,
<skodak@...gle.com>, <tglx@...utronix.de>, <tony.luck@...el.com>,
<x86@...nel.org>
Subject: Re: [PATCH v4 1/3] x86/resctrl: Factor rdtgroup lock for multi-file
ops
Hi Peter,
On 3/8/2023 5:14 AM, Peter Newman wrote:
> rdtgroup_kn_lock_live() can only release a kernfs reference for a single
> file before waiting on the rdtgroup_mutex, limiting its usefulness for
> operations on multiple files, such as rename.
>
> Factor the work needed to respectively break and unbreak active
> protection on an individual file into rdtgroup_kn_{get,put}().
>
> No functional change.
>
> Signed-off-by: Peter Newman <peternewman@...gle.com>
Reviewed-by: Reinette Chatre <reinette.chatre@...el.com>
Reinette
Powered by blists - more mailing lists