summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pvclock.c
diff options
context:
space:
mode:
authorMarcelo Tosatti2012-11-28 02:28:48 +0100
committerMarcelo Tosatti2012-11-28 02:29:05 +0100
commit7069ed67635b8d574541af426d752cd7fbd465a6 (patch)
treeb94c68234d0d430e97d21b458c0d8e092680f408 /arch/x86/kernel/pvclock.c
parentKVM: x86: retain pvclock guest stopped bit in guest memory (diff)
downloadkernel-qcow2-linux-7069ed67635b8d574541af426d752cd7fbd465a6.tar.gz
kernel-qcow2-linux-7069ed67635b8d574541af426d752cd7fbd465a6.tar.xz
kernel-qcow2-linux-7069ed67635b8d574541af426d752cd7fbd465a6.zip
x86: kvmclock: allocate pvclock shared memory area
We want to expose the pvclock shared memory areas, which the hypervisor periodically updates, to userspace. For a linear mapping from userspace, it is necessary that entire page sized regions are used for array of pvclock structures. There is no such guarantee with per cpu areas, therefore move to memblock_alloc based allocation. Acked-by: Glauber Costa <glommer@parallels.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kernel/pvclock.c')
0 files changed, 0 insertions, 0 deletions