]> www.infradead.org Git - users/dwmw2/linux.git/commit
um: Avoid marking pages with "changed protection"
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>
Wed, 5 Dec 2018 12:37:41 +0000 (12:37 +0000)
committerRichard Weinberger <richard@nod.at>
Thu, 27 Dec 2018 21:48:34 +0000 (22:48 +0100)
commit8892d8545f2d0342b9c550defbfb165db237044b
tree0b48c4df948da4a350321e4d8067cf243562a37b
parent38e3cbd9b82c815006c505ad2995013a61af143e
um: Avoid marking pages with "changed protection"

Changing protection is a very high cost operation in UML
because in addition to an extra syscall it also interrupts
mmap merge sequences generated by the tlb.

While the condition is not particularly common it is worth
avoiding.

Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/asm/pgtable.h