On 04/26/2013 02:51 PM, Yinghai Lu wrote: > On Fri, Apr 26, 2013 at 12:03 PM, Kees Cook <keesc...@chromium.org> wrote: >> This chooses the largest contiguous RAM region for the KASLR offset >> to live in. >> >> Signed-off-by: Kees Cook <keesc...@chromium.org> >> --- >> v2: >> - make sure to exclude e820 regions outside the 32-bit memory range. > > Do you need to execlude range that is used for initrd and possible > command_line and boot_param ? >
Yes, those would have to be excluded. For correctness the mem= and memmap= options should also be taken into account. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/