lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ezplssjtvj5kfp7zutj5ufmmxvvyd2bioxdsfqaauzi5i6b3yv@2hbbax4kfct6>
Date: Fri, 20 Jun 2025 12:30:03 -0700
From: Shakeel Butt <shakeel.butt@...ux.dev>
To: Frederic Weisbecker <frederic@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, 
	Andrew Morton <akpm@...ux-foundation.org>, Ingo Molnar <mingo@...hat.com>, 
	Johannes Weiner <hannes@...xchg.org>, Marco Crivellari <marco.crivellari@...e.com>, 
	Michal Hocko <mhocko@...nel.org>, Michal Hocko <mhocko@...e.com>, 
	Muchun Song <muchun.song@...ux.dev>, Peter Zijlstra <peterz@...radead.org>, 
	Roman Gushchin <roman.gushchin@...ux.dev>, Tejun Heo <tj@...nel.org>, Thomas Gleixner <tglx@...utronix.de>, 
	Vlastimil Babka <vbabka@...e.cz>, Waiman Long <longman@...hat.com>, cgroups@...r.kernel.org, 
	linux-mm@...ck.org
Subject: Re: [PATCH 16/27] sched/isolation: Flush memcg workqueues on cpuset
 isolated partition change

On Fri, Jun 20, 2025 at 05:22:57PM +0200, Frederic Weisbecker wrote:
> The HK_TYPE_DOMAIN housekeeping cpumask is now modifyable at runtime. In
> order to synchronize against memcg workqueue to make sure that no
> asynchronous draining is still pending or executing on a newly made
> isolated CPU, the housekeeping susbsystem must flush the memcg
> workqueues.
> 
> However the memcg workqueues can't be flushed easily since they are
> queued to the main per-CPU workqueue pool.
> 
> Solve this with creating a memcg specific pool and provide and use the
> appropriate flushing API.
> 
> Signed-off-by: Frederic Weisbecker <frederic@...nel.org>

Acked-by: Shakeel Butt <shakeel.butt@...ux.dev>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ