From: Tejun Heo <tj@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Li Zefan <lizefan@huawei.com>,
Johannes Weiner <hannes@cmpxchg.org>,
cgroups@vger.kernel.org
Subject: [GIT PULL] cgroup changes for v4.18-rc1
Date: Tue, 5 Jun 2018 12:21:57 -0700 [thread overview]
Message-ID: <20180605192157.GG1351649@devbig577.frc2.facebook.com> (raw)
Hello, Linus.
cgroup changes for v4.18.
* For cpustat, cgroup has a percpu hierarchical stat mechanism which
propagates up the hierarchy lazily. This pull request contains
commits to factor out and generalize the mechanism so that it can be
used for other cgroup stats too. The original intention was to
update memcg stats to use it but memcg went for a different
approach, so still the only user is cpustat. The factoring out and
generalization still make sense and it's likely that this can be
used for other purposes in the future.
* cgroup uses file modified events to notify certain events. A rate
limiting mechanism is added.
* Other misc changes.
Thanks.
The following changes since commit fe03a7594d86e0754f05e604cd803a6a9aae3c1c:
Merge tag 'acpi-4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (2018-04-26 11:06:36 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.18
for you to fetch changes up to d8742e22902186e30c346b1ba881cb52942ae3e4:
cgroup: css_set_lock should nest inside tasklist_lock (2018-05-23 11:04:54 -0700)
----------------------------------------------------------------
Andy Shevchenko (1):
rdmacg: Convert to use match_string() helper
Tejun Heo (12):
cgroup: Explicitly remove core interface files
cgroup: Limit event generation frequency
cgroup: Rename kernel/cgroup/stat.c to kernel/cgroup/rstat.c
cgroup: Rename stat to rstat
cgroup: Distinguish base resource stat implementation from rstat
cgroup: Reorganize kernel/cgroup/rstat.c
cgroup: Factor out and expose cgroup_rstat_*() interface functions
cgroup: Replace cgroup_rstat_mutex with a spinlock
cgroup: Add cgroup_subsys->css_rstat_flush()
cgroup: Add memory barriers to plug cgroup_rstat_updated() race window
cgroup: Make cgroup_rstat_updated() ready for root cgroup usage
cgroup: css_set_lock should nest inside tasklist_lock
include/linux/cgroup-defs.h | 52 +++--
include/linux/cgroup.h | 12 +-
kernel/cgroup/Makefile | 2 +-
kernel/cgroup/cgroup-internal.h | 11 +-
kernel/cgroup/cgroup.c | 105 +++++++---
kernel/cgroup/rdma.c | 35 ++--
kernel/cgroup/rstat.c | 416 ++++++++++++++++++++++++++++++++++++++++
kernel/cgroup/stat.c | 338 --------------------------------
8 files changed, 554 insertions(+), 417 deletions(-)
create mode 100644 kernel/cgroup/rstat.c
delete mode 100644 kernel/cgroup/stat.c
--
tejun
next reply other threads:[~2018-06-05 19:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-05 19:21 Tejun Heo [this message]
2018-06-06 0:13 ` [GIT PULL] cgroup changes for v4.18-rc1 Linus Torvalds
2018-06-06 15:04 ` Tejun Heo
2018-06-06 15:14 ` Linus Torvalds
2018-06-06 15:22 ` Tejun Heo
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=20180605192157.GG1351649@devbig577.frc2.facebook.com \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan@huawei.com \
--cc=torvalds@linux-foundation.org \
/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;
as well as URLs for NNTP newsgroup(s).