summaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-12-16 17:03:15 -0600
committerRusty Russell <rusty@rustcorp.com.au>2010-12-16 17:03:15 +1030
commitbb4093deb259ea9c92415796a6a139e35272f8a8 (patch)
tree806e7be7f7194d91e9135bc2f6af64a5ca2fdd7b /arch/mn10300
parentbb6f1d9a99f1947d91693de62ed54ac3bf1e2dfe (diff)
downloadlinux-bb4093deb259ea9c92415796a6a139e35272f8a8.tar.bz2
lguest: restore boot speed
lguest is dumb and drops *all* the pagetables for set_pte (which is only used for kernel mapping manipulation, so it's OK without highmem). But it's used a lot in boot, too. As a guest optimization, we suppressed this flushing until the first page switch. Now we have initial_page_table, that happens much earlier, so extend the heuristic to wait until we switch to something other than the swapper_pg_dir or initial_page_table. As measured on my laptop under kvm, this dropped the time-to-mount-root from 48 seconds to 4.3 seconds. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions