summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sun/niu.c
diff options
context:
space:
mode:
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>2018-12-05 12:37:41 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-12 19:44:58 +0100
commit5eb9de20b9cc44e58ae83ec37a8791814d37a1ce (patch)
tree2257965da6287208d4a42d5295803ccb42f6aae8 /drivers/net/ethernet/sun/niu.c
parent5c61a608d8e186415e4665b9087faeb8255abdb9 (diff)
um: Avoid marking pages with "changed protection"
[ Upstream commit 8892d8545f2d0342b9c550defbfb165db237044b ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/sun/niu.c')
0 files changed, 0 insertions, 0 deletions