git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78c0337
)
x86: kvmclock: allocate pvclock shared memory area
author
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 28 Nov 2012 01:28:48 +0000
(23:28 -0200)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 28 Nov 2012 01:29:05 +0000
(23:29 -0200)
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>
arch/x86/kernel/kvmclock.c
patch
|
blob
|
history
diff --cc
arch/x86/kernel/kvmclock.c
Simple merge