Re: [PATCH] sched/fair: Simplify pref_llc_queued handling in account_llc_enqueue()

From: Li kunyu

Date: Fri Nov 27 2026 - 04:48:16 EST


Hi Kayra,

On 2026/11/27 17:33, Kayra Cizmeci wrote:
> Hi,
>
> On Fri, Nov 27, 2026 at 05:11:46PM +0800, Li kunyu wrote:
>> pref_llc_queued is only used once. Assign p->pref_llc_queued directly
>> at the original sampling point instead of caching the value in a local
>> variable.
>>
>> Suggested-by: Kayra Cizmeci <kayracizmeci@xxxxxxxxx>
>> Link: https://lore.kernel.org/all/awhlwJTOLPeNqFW8@scheduler.schedules/
> I didn't really suggest anything. I don't know which part of my mail
> was a suggestion to you? Maybe below code is correct but I didn't
> suggest it. So please remove my tag from the patch.
>

I saw your reply on the cleanup patch in the linked thread and took it as a
suggestion, which I then incorporated (hence the Suggested-by). If that wasn't
the intent, let me know and I'll send a v2 to drop the tag.

--
thanks,
kunyu