Re: [Xen-devel] Q:pt_base in COMPAT mode offset by two pages.Was:Re: [PATCH 02/11] xen/x86: Use memblock_reserve for sensitiveareas.

From: Jan Beulich
Date: Thu Aug 23 2012 - 02:23:52 EST


>>> Konrad Rzeszutek Wilk <konrad@xxxxxxxxxx> 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

--
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/