diff options
| author | Linus Torvalds <[email protected]> | 2021-01-08 21:13:41 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-01-16 18:46:39 +0000 |
| commit | 29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb (patch) | |
| tree | 04043448c9ada73ea98a6b573520e4b0c9ef8e14 /net/lapb/lapb_out.c | |
| parent | Merge tag 'for-5.11/dm-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb.tar.gz kernel-29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb.zip | |
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 <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions
