linux-kernel.vger.kernel.org archive mirror
 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 fixes for v5.2-rc4
Date: Fri, 14 Jun 2019 13:02:53 -0700	[thread overview]
Message-ID: <20190614200253.GB657710@devbig004.ftw2.facebook.com> (raw)

Hello,

This pull request has unusually high density of tricky fixes.

* task_get_css() could deadlock when it races against a dying cgroup.

* cgroup.procs didn't list thread group leaders with live threads.
  This could mislead readers to think that a cgroup is empty when it's
  not.  Fixed by making PROCS iterator include dead tasks.  I made a
  couple mistakes making this change and this pull request contains a
  couple follow-up patches.

* When cpusets run out of online cpus, it updates cpusmasks of member
  tasks in bizarre ways.  Joel improved the behavior significantly.

Thanks.

The following changes since commit 9fb67d643f6f1892a08ee3a04ea54022d1060bb0:

  Merge tag 'pinctrl-v5.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl (2019-05-28 09:35:04 -0700)

are available in the Git repository at:

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

for you to fetch changes up to d477f8c202d1f0d4791ab1263ca7657bbe5cf79e:

  cpuset: restore sanity to cpuset_cpus_allowed_fallback() (2019-06-12 11:00:08 -0700)

----------------------------------------------------------------
Joel Savitz (1):
      cpuset: restore sanity to cpuset_cpus_allowed_fallback()

Odin Ugedal (1):
      docs cgroups: add another example size for hugetlb

Tejun Heo (6):
      cgroup: Use css_tryget() instead of css_tryget_online() in task_get_css()
      cgroup: Call cgroup_release() before __exit_signal()
      cgroup: Implement css_task_iter_skip()
      cgroup: Include dying leaders with live threads in PROCS iterations
      cgroup: css_task_iter_skip()'d iterators must be advanced before accessed
      cgroup: Fix css_task_iter_advance_css_set() cset skip condition

 Documentation/cgroup-v1/hugetlb.txt |  22 +++++---
 include/linux/cgroup-defs.h         |   1 +
 include/linux/cgroup.h              |  14 ++++-
 kernel/cgroup/cgroup.c              | 106 ++++++++++++++++++++++++++----------
 kernel/cgroup/cpuset.c              |  15 ++++-
 kernel/exit.c                       |   2 +-
 6 files changed, 117 insertions(+), 43 deletions(-)

-- 
tejun

             reply	other threads:[~2019-06-14 20:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 20:02 Tejun Heo [this message]
2019-06-15  4:05 ` [GIT PULL] cgroup fixes for v5.2-rc4 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=20190614200253.GB657710@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;
as well as URLs for NNTP newsgroup(s).