diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 14:10:41 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 15:45:03 +0930 |
commit | 6d0cda93c0d3c8bb0a553047c10f114c88c8af89 (patch) | |
tree | 6669d10bf2be3bb2407d8247060fd5721fb55d45 /drivers/lguest/lg.h | |
parent | 86935fc4ee4d95efe01b6c91cd5143fa4c38c02b (diff) | |
download | linux-6d0cda93c0d3c8bb0a553047c10f114c88c8af89.tar.gz linux-6d0cda93c0d3c8bb0a553047c10f114c88c8af89.tar.bz2 linux-6d0cda93c0d3c8bb0a553047c10f114c88c8af89.zip |
lguest: cache last cpu we ran on.
This optimizes the frobbing of our Switcher map.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/lg.h')
-rw-r--r-- | drivers/lguest/lg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h index 005929a3fd52..2eef40be4c04 100644 --- a/drivers/lguest/lg.h +++ b/drivers/lguest/lg.h @@ -17,6 +17,7 @@ struct pgdir { unsigned long gpgdir; bool switcher_mapped; + int last_host_cpu; pgd_t *pgdir; }; |