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
.gitignore -rw-r--r-- 94 bytes
Kconfig -rw-r--r-- 7.7 KB
Makefile -rw-r--r-- 2.9 KB
default_cpio_list -rw-r--r-- 153 bytes
gen_init_cpio.c -rw-r--r-- 12.8 KB
gen_initramfs.sh -rwxr-xr-x 5.7 KB
initramfs_data.S -rw-r--r-- 1.2 KB

back to top