diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-12-03 23:11:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-09 15:46:24 +0300 |
commit | 933b7cc86068fe9c2b8ebb51606022a37a7f958a (patch) | |
tree | cd7bdb75e2c60ba83fed55f876fe0378ccc278a9 /init | |
parent | 27bae39e4fc4f911eae970ed2a332a36a92d463d (diff) | |
download | linux-933b7cc86068fe9c2b8ebb51606022a37a7f958a.tar.xz |
rwsem: Implement down_read_interruptible
[ Upstream commit 31784cff7ee073b34d6eddabb95e3be2880a425c ]
In preparation for converting exec_update_mutex to a rwsem so that
multiple readers can execute in parallel and not deadlock, add
down_read_interruptible. This is needed for perf_event_open to be
converted (with no semantic changes) from working on a mutex to
wroking on a rwsem.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/87k0tybqfy.fsf@x220.int.ebiederm.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions