]> git.baikalelectronics.ru Git - kernel.git/commit
xen: mask_rw_pte mark RO all pagetable pages up to pgt_buf_top
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 12 Apr 2011 11:19:49 +0000 (12:19 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 2 May 2011 20:33:52 +0000 (16:33 -0400)
commit5f4a57bbbbd3e6b2ea5a2eb5868e400bbb1264c6
tree72c8c5cb8c49c02d304255eafa25eba5fa03292a
parentd59e1450bb098a4a09f3f8bcbc09deb75578ae43
xen: mask_rw_pte mark RO all pagetable pages up to pgt_buf_top

mask_rw_pte is currently checking if a pfn is a pagetable page if it
falls in the range pgt_buf_start - pgt_buf_end but that is incorrect
because pgt_buf_end is a moving target: pgt_buf_top is the real
boundary.

Acked-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/mmu.c