]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/mmu: inhibit vmap aliases rather than trying to clear them out
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 26 Mar 2010 22:37:50 +0000 (15:37 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 27 Jul 2010 15:50:41 +0000 (11:50 -0400)
commitd2cb214551de8180542a04ec8c86c0c9412c5124
tree8c9cb83c2899cc765cf5789896b19383b6e8ddef
parenta0d40c80256e31b23849f2ba781b74bf0218a1fa
xen/mmu: inhibit vmap aliases rather than trying to clear them out

Rather than trying to deal with aliases once they appear, just completely
inhibit them.  Mostly the removal of aliases was managable, but it comes
unstuck in xen_create_contiguous_region() because it gets executed at
interrupt time (as a result of dma_alloc_coherent()), which causes all
sorts of confusion in the vmap code, as it was never intended to be run
in interrupt context.

This has the unfortunate side effect of removing all the unmap batching
the vmap code so carefully added, but that can't be helped.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/mmu.c