summaryrefslogtreecommitdiff
path: root/ipc/util.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-06-12 13:53:56 +0200
committerJuergen Gross <jgross@suse.com>2017-06-25 13:11:27 +0200
commita5d5f328b0e2baa5ee7c119fd66324eb79eeeb66 (patch)
tree7a56d9ab6a01a47a8b758f90b5cbfee96461f10d /ipc/util.h
parent1a3fc2c402810bf336882e695abd1678dbc8d279 (diff)
xen: allocate page for shared info page from low memory
In a HVM guest the kernel allocates the page for mapping the shared info structure via extend_brk() today. This will lead to a drop of performance as the underlying EPT entry will have to be split up into 4kB entries as the single shared info page is located in hypervisor memory. The issue has been detected by using the libmicro munmap test: unmapping 8kB of memory was faster by nearly a factor of two when no pv interfaces were active in the HVM guest. So instead of taking a page from memory which might be mapped via large EPT entries use a page which is already mapped via a 4kB EPT entry: we can take a page from the first 1MB of memory as the video memory at 640kB disallows using larger EPT entries. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions