Re: Interaction between Xen and XFS: stray RW mappings

From: Jeremy Fitzhardinge
Date: Sun Oct 21 2007 - 23:35:11 EST


dean gaudet wrote:
> On Mon, 15 Oct 2007, Nick Piggin wrote:
>
>
>> Yes, as Dave said, vmap (more specifically: vunmap) is very expensive
>> because it generally has to invalidate TLBs on all CPUs.
>>
>
> why is that? ignoring 32-bit archs we have heaps of address space
> available... couldn't the kernel just burn address space and delay global
> TLB invalidate by some relatively long time (say 1 second)?
>

Yes, that's precisely the problem. xfs does delay the unmap, leaving
stray mappings, which upsets Xen.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/