diff options
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | 2018-12-05 12:37:41 +0000 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-12-27 22:48:34 +0100 |
commit | 8892d8545f2d0342b9c550defbfb165db237044b (patch) | |
tree | 0b48c4df948da4a350321e4d8067cf243562a37b /drivers/pci/pci-driver.c | |
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>
Diffstat (limited to 'drivers/pci/pci-driver.c')
0 files changed, 0 insertions, 0 deletions