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
include
samples
scripts
.gitignore -rw-r--r-- 51 bytes
Makefile -rw-r--r-- 736 bytes
main.c -rw-r--r-- 10.1 KB
test-bootconfig.sh -rwxr-xr-x 3.9 KB

back to top