commit | 8892d8545f2d0342b9c550defbfb165db237044b | [log] [tgz] |
---|---|---|
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | Wed Dec 05 12:37:41 2018 +0000 |
committer | Richard Weinberger <richard@nod.at> | Thu Dec 27 22:48:34 2018 +0100 |
tree | 0b48c4df948da4a350321e4d8067cf243562a37b | |
parent | 38e3cbd9b82c815006c505ad2995013a61af143e [diff] |
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>