From: Jeremy Fitzhardinge Date: Sun, 27 Jul 2008 15:45:02 +0000 (-0700) Subject: xen: fix allocation and use of large ldts X-Git-Tag: v2.6.28-rc1~699^2^2~43 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05d2ebab28011c2f3f520833f4bfdd2fd1b9c02;p=pandora-kernel.git xen: fix allocation and use of large ldts 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 Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed