All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] thread fixes v5.5-rc5
@ 2020-01-03 13:53 Christian Brauner
  2020-01-03 19:25 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Brauner @ 2020-01-03 13:53 UTC (permalink / raw)
  To: Linus Torvalds, Linux Kernel Mailing List

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(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] thread fixes v5.5-rc5
  2020-01-03 13:53 [GIT PULL] thread fixes v5.5-rc5 Christian Brauner
@ 2020-01-03 19:25 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2020-01-03 19:25 UTC (permalink / raw)
  To: Christian Brauner; +Cc: Linus Torvalds, Linux Kernel Mailing List

The pull request you sent on Fri,  3 Jan 2020 14:53:03 +0100:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d9c82fd8c89766f2cf1e667f663e8e8c25c12aee

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-03 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-03 13:53 [GIT PULL] thread fixes v5.5-rc5 Christian Brauner
2020-01-03 19:25 ` pr-tracker-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.