]> xenbits.xensource.com Git - xen.git/commit
x86/mm: Enforce ordering constraints for the page alloc lock in the PoD code
authorTim Deegan <tim@xen.org>
Thu, 10 Nov 2011 11:12:35 +0000 (11:12 +0000)
committerTim Deegan <tim@xen.org>
Thu, 10 Nov 2011 11:12:35 +0000 (11:12 +0000)
commit94d9bf1a388ef3f1646431e7fac93652b5bd89e6
tree322fa61d702b19122670a8a222cff237a20ad513
parent3ceb653eb50aaabbe41c3b6d8bc017aa76b37b74
x86/mm: Enforce ordering constraints for the page alloc lock in the PoD code

The page alloc lock is sometimes used in the PoD code, with an
explicit expectation of ordering. Use our ordering constructs in the
mm layer to enforce this.

The additional book-keeping variables are kept in the arch_domain
sub-struct, as they are x86-specific to the whole domain.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/mm-locks.h
xen/arch/x86/mm/p2m-pod.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/p2m.h