diff options
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | 2018-12-07 10:05:53 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-12-27 22:48:34 +0100 |
commit | 742f3c8193a3cb3e444887211214ef0721e3ef8d (patch) | |
tree | c74eb64a5d8b02cca48b7b5ab7e97b415fc957bf /arch/microblaze/include | |
parent | um: Avoid marking pages with "changed protection" (diff) | |
download | linux-742f3c8193a3cb3e444887211214ef0721e3ef8d.tar.xz linux-742f3c8193a3cb3e444887211214ef0721e3ef8d.zip |
um: Optimize Flush TLB for force/fork case
When UML handles a fork the page tables need to be brought up
to date. That was done using brute force - full tlb flush.
This is actually unnecessary, because the mapped-in mappings are
all correct and the only mappings which need to be updated
after a flush are any unmaps (so that paging works) as well as
any pending protection changes.
This optimization squeezes out up to 3% from a full kernel rebuild
time under memory pressure.
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/microblaze/include')
0 files changed, 0 insertions, 0 deletions