mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christian Brauner <christian.brauner@ubuntu.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] thread fixes v5.5-rc5
Date: Fri,  3 Jan 2020 14:53:03 +0100	[thread overview]
Message-ID: <20200103135303.19470-1-christian.brauner@ubuntu.com> (raw)

Hi Linus,

Here are two fixes:

/* Summary */
- Panic earlier when global init exits to generate useable coredumps.
  Currently, when global init and all threads in its thread-group have exited
  we panic via:
  do_exit()
  -> exit_notify()
     -> forget_original_parent()
        -> find_child_reaper()
  This makes it hard to extract a useable coredump for global init from a
  kernel crashdump because by the time we panic exit_mm() will have already
  released global init's mm. We now panic slightly earlier. This has been
  a problem in certain environments such as Android. 

- Fix a race in assigning and reading taskstats for thread-groups with more
  than one thread.
  This patch has been waiting for quite a while since people disagreed on what
  the correct fix was at first.

/* Testing */
No build failures or warnings were observed.

/* Conflicts */
At the time of creating this PR no merge conflicts were known.

The following changes since commit 219d54332a09e8d8741c1e1982f5eae56099de85:

  Linux 5.4 (2019-11-24 16:32:01 -0800)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux tags/for-linus-2020-01-03

for you to fetch changes up to 43cf75d96409a20ef06b756877a2e72b10a026fc:

  exit: panic before exit_mm() on global init exit (2019-12-21 16:48:01 +0100)

Please consider pulling these changes from the signed for-linus-2020-01-03 tag.

Thanks and happy new year!
Christian

----------------------------------------------------------------
for-linus-2020-01-03

----------------------------------------------------------------
Christian Brauner (1):
      taskstats: fix data-race

chenqiwu (1):
      exit: panic before exit_mm() on global init exit

 kernel/exit.c      | 12 ++++++++----
 kernel/taskstats.c | 30 +++++++++++++++++++-----------
 2 files changed, 27 insertions(+), 15 deletions(-)

             reply	other threads:[~2020-01-03 13:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-03 13:53 Christian Brauner [this message]
2020-01-03 19:25 ` 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=20200103135303.19470-1-christian.brauner@ubuntu.com \
    --to=christian.brauner@ubuntu.com \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®