“5d50ffd7c31dab47c6b828841ca1ec70a1b40169”上不存在“include/uapi/git@gitcode.net:openanolis/cloud-kernel.git”
mm: fix clear_refs_write locking
stable inclusion from stable-5.10.9 commit 41b0b0c09e974ff9760db396097169a1891460d2 bugzilla: 47457 -------------------------------- [ Upstream commit 29a951df ] 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: NLinus Torvalds <torvalds@linux-foundation.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录