]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'exec-update-lock-for-v5.11' of git://git.kernel.org/pub/scm/linux/kerne...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2020 03:36:48 +0000 (19:36 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2020 03:36:48 +0000 (19:36 -0800)
commit8b73f987a28e504616b8849a1aa4be10bcad6512
tree5f8260e02bf6290fe386337e4c66858eaf20340d
parentc59861d96a216eafdc66d5ae0cdbc23ae7666c06
parent7045d05f1f3598121ce8718ceaaf936dd5dbe4a7
Merge branch 'exec-update-lock-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace

Pull exec-update-lock update from Eric Biederman:
 "The key point of this is to transform exec_update_mutex into a
  rw_semaphore so readers can be separated from writers.

  This makes it easier to understand what the holders of the lock are
  doing, and makes it harder to contend or deadlock on the lock.

  The real deadlock fix wound up in perf_event_open"

* 'exec-update-lock-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  exec: Transform exec_update_mutex into a rw_semaphore
fs/exec.c
include/linux/sched/signal.h
kernel/events/core.c
kernel/fork.c
kernel/kcmp.c
kernel/pid.c