commit | 9348b73c2e1bfea74ccd4a44fb4ccc7276ab9623 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jan 09 17:09:10 2021 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jan 16 10:51:26 2021 -0800 |
tree | 1dfb123d7279ddfcbaa4a3a11df52cf51b0a0402 | |
parent | 29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb [diff] |
mm: don't play games with pinned pages in clear_page_refs 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>