Messages in this thread | | | Date | Thu, 23 Aug 2012 07:23:42 +0100 | From | "Jan Beulich" <> | Subject | Re: [Xen-devel] Q:pt_base in COMPAT mode offset by two pages. Was:Re: [PATCH 02/11] xen/x86: Use memblock_reserve for sensitive areas. |
| |
>>> Konrad Rzeszutek Wilk <konrad@kernel.org> 08/22/12 9:05 PM >>> >Thinking of just sticking this patch then:
Yeah, that may be best for the moment. Albeit I see no reason why you shouldn't be able to use your more selective logic, just making it either deal with only the pt_base == start-of-page-tables case (and fall back to the current logic alternatively), or figure out the true range.
I'm nevertheless considering to re-arrange the allocation order in the hypervisor (and to remove the superfluously reserved page covering what would be the L4), so going with the former, simpler case for the kernel would be a reasonable option.
Jan
| |