Re: [PATCH v3 1/2] kaslr: shift linear region randomization ahead of memory_limit

2019-05-12 Thread pierre kuo
hi Ard: > > The following is schematic diagram of the program before and after the > > modification. > > > > Before: > > if (memstart_addr + linear_region_size < memblock_end_of_DRAM()) {} --(a) > > if (memory_limit != PHYS_ADDR_MAX) {} --(b) > > if

Re: [PATCH v3 1/2] kaslr: shift linear region randomization ahead of memory_limit

2019-05-02 Thread Ard Biesheuvel
On Mon, 8 Apr 2019 at 18:33, pierre Kuo wrote: > > The following is schematic diagram of the program before and after the > modification. > > Before: > if (memstart_addr + linear_region_size < memblock_end_of_DRAM()) {} --(a) > if (memory_limit != PHYS_ADDR_MAX) {}

Re: [PATCH v3 1/2] kaslr: shift linear region randomization ahead of memory_limit

2019-04-15 Thread pierre kuo
hi will and all: > > The following is schematic diagram of the program before and after the > modification. > > Before: > if (memstart_addr + linear_region_size < memblock_end_of_DRAM()) {} --(a) > if (memory_limit != PHYS_ADDR_MAX) {} --(b) > if

[PATCH v3 1/2] kaslr: shift linear region randomization ahead of memory_limit

2019-04-08 Thread pierre Kuo
The following is schematic diagram of the program before and after the modification. Before: if (memstart_addr + linear_region_size < memblock_end_of_DRAM()) {} --(a) if (memory_limit != PHYS_ADDR_MAX) {} --(b) if (IS_ENABLED(CONFIG_BLK_DEV_INITRD) &&