commit | a05d2ebab28011c2f3f520833f4bfdd2fd1b9c02 | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@goop.org> | Sun Jul 27 08:45:02 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Jul 28 14:26:27 2008 +0200 |
tree | e1e3d5b61ee717d8e044c6a46af8d7f2ac06f5e5 | |
parent | 64f53a0492b4bc11868307990bb8f7c1e0764f89 [diff] |
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 <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>