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
.gitignore -rw-r--r-- 60 bytes
Makefile -rw-r--r-- 553 bytes
page-types.c -rw-r--r-- 29.9 KB
page_owner_sort.c -rw-r--r-- 3.0 KB
slabinfo-gnuplot.sh -rw-r--r-- 4.7 KB
slabinfo.c -rw-r--r-- 37.0 KB

back to top