https://github.com/torvalds/linux
Revision 9348b73c2e1bfea74ccd4a44fb4ccc7276ab9623 authored by Linus Torvalds on 10 January 2021, 01:09:10 UTC, committed by Linus Torvalds on 16 January 2021, 18:51:26 UTC
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>
1 parent 29a951d
History
Tip revision: 9348b73c2e1bfea74ccd4a44fb4ccc7276ab9623 authored by Linus Torvalds on 10 January 2021, 01:09:10 UTC
mm: don't play games with pinned pages in clear_page_refs
Tip revision: 9348b73
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 16.3 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 17.9 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 98.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 571.9 KB
Makefile -rw-r--r-- 62.9 KB
README -rw-r--r-- 727 bytes

README

back to top