[PATCH 1/1] stop_machine: Fix migrate_swap() vs. balance_push() racing

Kuyo Chang kuyo.chang at mediatek.com
Thu Jun 5 19:09:47 PDT 2025


On Wed, 2025-06-04 at 18:04 +0200, Peter Zijlstra wrote:
> 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> This and your other patch about migrate_swap() are two distinct
> problems, right?

Sorry, this patch also addresses the issue of double adding to the
list(the same problem),
but it functions more like as a error-proofing mechanism...

However, after some deeper investigation, I believe this problem should
be resolved at the root cause.

Maybe we should move to another mail thread to discuss the correct
solution:
https://lore.kernel.org/all/20250602072242.1839605-1-kuyo.chang@mediatek.com/




More information about the Linux-mediatek mailing list