public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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 v5.5-rc1
Date: Mon, 25 Nov 2019 08:11:41 -0800	[thread overview]
Message-ID: <20191125161141.GC2867037@devbig004.ftw2.facebook.com> (raw)

Hello,

There are several notable changes in this pull request.

* Single thread migrating itself has been optimized so that it doesn't
  need threadgroup rwsem anymore.

* Freezer optimization to avoid unnecessary frozen state changes.

* cgroup ID unification so that cgroup fs ino is the only unique ID
  used for the cgroup and can be used to directly look up live cgroups
  through filehandle interface on 64bit ino archs.  On 32bit archs,
  cgroup fs ino is still the only ID in use but it is only unique when
  combined with gen.

* selftest and other changes.

Thanks.

The following changes since commit da0c9ea146cbe92b832f1b0f694840ea8eb33cce:

  Linux 5.4-rc2 (2019-10-06 14:27:30 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.5

for you to fetch changes up to 40363cf13999ee4fb3b5c1e67fa5e6f0e9da34bd:

  writeback: fix -Wformat compilation warnings (2019-11-25 07:50:41 -0800)

----------------------------------------------------------------
Aleksa Sarai (1):
      cgroup: pids: use atomic64_t for pids->limit

Chris Down (1):
      docs: cgroup: mm: Fix spelling of "list"

Hewenliang (1):
      kselftests: cgroup: Avoid the reuse of fd after it is deallocated

Honglei Wang (1):
      cgroup: freezer: don't change task and cgroups status unnecessarily

Miaohe Lin (1):
      cgroup: short-circuit current_cgns_cgroup_from_root() on the default hierarchy

Michal Koutný (5):
      cgroup: Update comments about task exit path
      cgroup: Optimize single thread migration
      selftests: cgroup: Simplify task self migration
      selftests: cgroup: Add task migration tests
      selftests: cgroup: Run test_core under interfering stress

Qian Cai (1):
      writeback: fix -Wformat compilation warnings

Tejun Heo (13):
      cgroup: remove cgroup_enable_task_cg_lists() optimization
      cgroup: use cgroup->last_bstat instead of cgroup->bstat_pending for consistency
      kernfs: fix ino wrap-around detection
      writeback: use ino_t for inodes in tracepoints
      netprio: use css ID instead of cgroup ID
      kernfs: use dumber locking for kernfs_find_and_get_node_by_ino()
      kernfs: kernfs_find_and_get_node_by_ino() should only look up activated nodes
      kernfs: convert kernfs_node->id from union kernfs_node_id to u64
      kernfs: combine ino/id lookup functions into kernfs_find_and_get_node_by_id()
      kernfs: implement custom exportfs ops and fid type
      kernfs: use 64bit inos if ino_t is 64bit
      cgroup: use cgrp->kn->id as the cgroup ID
      cgroup: fix incorrect WARN_ON_ONCE() in cgroup_setup_root()

 Documentation/admin-guide/cgroup-v2.rst       |   2 +-
 fs/kernfs/dir.c                               | 101 ++++----
 fs/kernfs/file.c                              |   4 +-
 fs/kernfs/inode.c                             |   4 +-
 fs/kernfs/kernfs-internal.h                   |   2 -
 fs/kernfs/mount.c                             | 102 ++++----
 include/linux/cgroup-defs.h                   |  19 +-
 include/linux/cgroup.h                        |  27 +--
 include/linux/exportfs.h                      |   5 +
 include/linux/kernfs.h                        |  57 +++--
 include/net/netprio_cgroup.h                  |   2 +-
 include/trace/events/cgroup.h                 |   6 +-
 include/trace/events/writeback.h              | 140 +++++------
 kernel/bpf/helpers.c                          |   2 +-
 kernel/bpf/local_storage.c                    |   2 +-
 kernel/cgroup/cgroup-internal.h               |   5 +-
 kernel/cgroup/cgroup-v1.c                     |   5 +-
 kernel/cgroup/cgroup.c                        | 325 ++++++++------------------
 kernel/cgroup/cpuset.c                        |   2 -
 kernel/cgroup/freezer.c                       |   9 +
 kernel/cgroup/pids.c                          |  11 +-
 kernel/cgroup/rstat.c                         |  46 ++--
 kernel/trace/blktrace.c                       |  84 ++++---
 net/core/filter.c                             |   4 +-
 net/core/netprio_cgroup.c                     |   8 +-
 tools/testing/selftests/cgroup/Makefile       |   4 +-
 tools/testing/selftests/cgroup/cgroup_util.c  |  42 +++-
 tools/testing/selftests/cgroup/cgroup_util.h  |   6 +-
 tools/testing/selftests/cgroup/test_core.c    | 146 ++++++++++++
 tools/testing/selftests/cgroup/test_freezer.c |   3 +-
 tools/testing/selftests/cgroup/test_stress.sh |   4 +
 tools/testing/selftests/cgroup/with_stress.sh | 101 ++++++++
 32 files changed, 746 insertions(+), 534 deletions(-)
 create mode 100755 tools/testing/selftests/cgroup/test_stress.sh
 create mode 100755 tools/testing/selftests/cgroup/with_stress.sh

-- 
tejun

             reply	other threads:[~2019-11-25 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 16:11 Tejun Heo [this message]
2019-11-26  4:25 ` [GIT PULL] cgroup changes for v5.5-rc1 pr-tracker-bot

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=20191125161141.GC2867037@devbig004.ftw2.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