[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wm0zjcsa.ffs@tglx>
Date: Fri, 30 Jan 2026 17:17:09 +0100
From: Thomas Gleixner <tglx@...nel.org>
To: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, LKML
<linux-kernel@...r.kernel.org>
Cc: Ihor Solodrai <ihor.solodrai@...ux.dev>, Shrikanth Hegde
<sshegde@...ux.ibm.com>, Peter Zijlstra <peterz@...radead.org>, Michael
Jeanson <mjeanson@...icios.com>
Subject: Re: [patch 1/4] sched/mmcid: Prevent live lock on task to CPU mode
transition
On Fri, Jan 30 2026 at 10:24, Mathieu Desnoyers wrote:
> On 2026-01-29 16:20, Thomas Gleixner wrote:
>> if (percpu) {
>> mm_cid_fixup_tasks_to_cpus();
>> + /* Clear the transition bit */
>> + WRITE_ONCE(mm->mm_cid.transit, 0);
>
> You should move this WRITE_ONCE at the end of
> mm_cid_fixup_tasks_to_cpus() to keep the same pattern as for
> mm_cid_fixup_cpus_to_tasks().
I fixed that up in the wrong patch. Will fold it back into that one.
Powered by blists - more mailing lists