summaryrefslogtreecommitdiff
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-01-10 04:09:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-19 20:27:29 +0300
commit1eea108995a2411d46350bf43e4b316a9f1e30fd (patch)
tree41be0ffa550aec231a3441459eab84a922bcb9d9 /mm/vmscan.c
parent41b0b0c09e974ff9760db396097169a1891460d2 (diff)
downloadlinux-1eea108995a2411d46350bf43e4b316a9f1e30fd.tar.xz
mm: don't play games with pinned pages in clear_page_refs
[ Upstream commit 9348b73c2e1bfea74ccd4a44fb4ccc7276ab9623 ] Turning a pinned page read-only breaks the pinning after COW. Don't do it. The whole "track page soft dirty" state doesn't work with pinned pages anyway, since the page might be dirtied by the pinning entity without ever being noticed in the page tables. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions