On Tue, Jul 16, 2013 at 12:41 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote: > On 07/16/2013 12:40 PM, Kees Cook wrote: >>> >>> I think setting up a dynamic #PF handler is the right thing for the >>> decompressor, we already did for the kernel proper. >> >> I'm not sure how to accomplish this yet. I'm still trying to >> understand how the page tables are arranged. :) >> > > Look at the handler at the top of arch/x86/kernel/head64.c. could extract code from arch/x86/kernel/{head64.c, head_64.S}, and share them with arch/x86/boot/compressed/{misc.c, head_64.S} Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html