commit | 29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jan 08 13:13:41 2021 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jan 16 10:46:39 2021 -0800 |
tree | 04043448c9ada73ea98a6b573520e4b0c9ef8e14 | |
parent | 1d94330a437a573cfdf848f6743b1ed169242c8a [diff] |
mm: fix clear_refs_write locking 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>