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: <20151203151724.GF27463@mtj.duckdns.org>
Date:	Thu, 3 Dec 2015 10:17:24 -0500
From:	Tejun Heo <tj@...nel.org>
To:	Li Zefan <lizefan@...wei.com>
Cc:	Johannes Weiner <hannes@...xchg.org>, cgroups@...r.kernel.org,
	linux-kernel@...r.kernel.org, Aleksa Sarai <cyphar@...har.com>
Subject: Re: [PATCH for-4.4-fixes] cgroup_pids: don't account for the root
 cgroup

On Mon, Nov 30, 2015 at 05:45:43PM -0500, Tejun Heo wrote:
> From 7bbb8d4e913853a1346d95745ca8092f0cc8ce00 Mon Sep 17 00:00:00 2001
> From: Tejun Heo <tj@...nel.org>
> Date: Mon, 30 Nov 2015 17:24:34 -0500
> 
> Because accounting resources for the root cgroup sometimes incurs
> measureable overhead for workloads which don't care about cgroup and
> often ends up calculating a number which is available elsewhere in a
> slightly different form, cgroup is not in the business of providing
> system-wide statistics.  The pids controller which was introduced
> recently was exposing "pids.current" at the root.  This patch disable
> accounting for root cgroup and removes the file from the root
> directory.
> 
> While this is a userland visible behavior change, pids has been
> available only in one version and was badly broken there, so I don't
> think this will be noticeable.  If it turns out to be a problem, we
> can reinstate it for v1 hierarchies.
> 
> Signed-off-by: Tejun Heo <tj@...nel.org>
> Cc: Aleksa Sarai <cyphar@...har.com>

Applying to cgroup/for-4.4-fixes.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ