mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Li Zefan <lizefan@huawei.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
	cgroups@vger.kernel.org, linux-kernel@vger.kernel.org,
	Aleksa Sarai <cyphar@cyphar.com>
Subject: Re: [PATCH for-4.4-fixes] cgroup_pids: don't account for the root cgroup
Date: Thu, 3 Dec 2015 10:17:24 -0500	[thread overview]
Message-ID: <20151203151724.GF27463@mtj.duckdns.org> (raw)
In-Reply-To: <20151130224543.GC9039@mtj.duckdns.org>

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@kernel.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@kernel.org>
> Cc: Aleksa Sarai <cyphar@cyphar.com>

Applying to cgroup/for-4.4-fixes.

Thanks.

-- 
tejun

      reply	other threads:[~2015-12-03 15:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-30 22:45 Tejun Heo
2015-12-03 15:17 ` Tejun Heo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151203151724.GF27463@mtj.duckdns.org \
    --to=tj@kernel.org \
    --cc=cgroups@vger.kernel.org \
    --cc=cyphar@cyphar.com \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®