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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZnMWe4dcz3M6cyAU@slm.duckdns.org>
Date: Wed, 19 Jun 2024 07:33:47 -1000
From: Tejun Heo <tj@...nel.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Zefan Li <lizefan.x@...edance.com>,
	Johannes Weiner <hannes@...xchg.org>, cgroups@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] cgroup: avoid the unnecessary list_add(dying_tasks)
 in cgroup_exit()

On Mon, Jun 17, 2024 at 04:31:52PM +0200, Oleg Nesterov wrote:
> cgroup_exit() needs to do this only if the exiting task is a leader and it
> is not the last live thread.  The patch doesn't use delay_group_leader(),
> atomic_read(signal->live) matches the code css_task_iter_advance() more.
> 
> cgroup_release() can now check list_empty(task->cg_list) before it takes
> css_set_lock and calls ss_set_skip_task_iters().
> 
> Signed-off-by: Oleg Nesterov <oleg@...hat.com>

Applied to cgroup/for-6.11.

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ