Revision 29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb authored by Linus Torvalds on 08 January 2021, 21:13:41 UTC, committed by Linus Torvalds on 16 January 2021, 18:46:39 UTC
Turning page table entries read-only requires the mmap_sem held for
writing.

So stop doing the odd games with turning things from read locks to write
locks and back.  Just get the write lock.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 1d94330
History
File Mode Size
Makefile -rw-r--r-- 244 bytes
callchain.c -rw-r--r-- 5.7 KB
core.c -rw-r--r-- 313.6 KB
hw_breakpoint.c -rw-r--r-- 16.3 KB
internal.h -rw-r--r-- 5.8 KB
ring_buffer.c -rw-r--r-- 22.7 KB
uprobes.c -rw-r--r-- 57.0 KB

back to top