Re: [PATCH] xen: fix allocation and use of large ldts
From: Ingo Molnar
Date: Mon Jul 28 2008 - 08:27:20 EST
* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> When the ldt gets to more than 1 page in size, the kernel uses vmalloc
> to allocate it. This means that:
> - when making the ldt RO, we must update the pages in both the vmalloc
> mapping and the linear mapping to make sure there are no RW aliases.
> - we need to use arbitrary_virt_to_machine to compute the machine addr
> for each update
applied to tip/x86/xen, thanks Jeremy.
Ingo
--
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/