xen: clarify locking used when pinning a pagetable.
commit11ad93e59d114f4b218873f1c93261be725d2e22
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 19 Aug 2008 20:32:51 +0000 (19 13:32 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 20 Aug 2008 10:40:08 +0000 (20 12:40 +0200)
tree00cceefe48f6fbd01607cfbb7285145321ebf1f7
parent63d3a75d6f1fcf2f33e6abbe84e1f428c3586152
xen: clarify locking used when pinning a pagetable.

Add some comments explaining the locking and pinning algorithm when
using split pte locks.  Also implement a minor optimisation of not
pinning the PTE when not using split pte locks.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Xen-devel <xen-devel@lists.xensource.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/mmu.c