diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2012-11-27 23:28:48 -0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-11-27 23:29:05 -0200 |
commit | 7069ed67635b8d574541af426d752cd7fbd465a6 (patch) | |
tree | b94c68234d0d430e97d21b458c0d8e092680f408 /arch/x86/kernel/pvclock.c | |
parent | 78c0337a38450f809113dd46fe038874b93909f1 (diff) |
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