Re: [PATCH v6 5/5] kaslr: add kaslr_mem=nn[KMG]!ss[KMG] to avoid memory regions

2018-01-16 Thread Chao Fan
On Tue, Jan 16, 2018 at 11:34:23AM -0500, Luiz Capitulino wrote: >On Tue, 16 Jan 2018 08:43:20 +0800 >Baoquan He wrote: > >> On 01/15/18 at 08:49pm, Chao Fan wrote: >> > Hi Luiz, >> > >> > I don't know if this patch is OK for you. >> > Of coure you can only use kaslr_mem=nn@ss to solve the 1G hug

Re: [PATCH v6 5/5] kaslr: add kaslr_mem=nn[KMG]!ss[KMG] to avoid memory regions

2018-01-16 Thread Baoquan He
On 01/16/18 at 11:34am, Luiz Capitulino wrote: > On Tue, 16 Jan 2018 08:43:20 +0800 > Baoquan He wrote: > > > On 01/15/18 at 08:49pm, Chao Fan wrote: > > > Hi Luiz, > > > > > > I don't know if this patch is OK for you. > > > Of coure you can only use kaslr_mem=nn@ss to solve the 1G huge page > >

Re: [PATCH v6 5/5] kaslr: add kaslr_mem=nn[KMG]!ss[KMG] to avoid memory regions

2018-01-16 Thread Luiz Capitulino
On Tue, 16 Jan 2018 08:43:20 +0800 Baoquan He wrote: > On 01/15/18 at 08:49pm, Chao Fan wrote: > > Hi Luiz, > > > > I don't know if this patch is OK for you. > > Of coure you can only use kaslr_mem=nn@ss to solve the 1G huge page > > issue. Because we know the region [0,1G] is not suitable for 1

Re: [PATCH v6 5/5] kaslr: add kaslr_mem=nn[KMG]!ss[KMG] to avoid memory regions

2018-01-15 Thread Chao Fan
On Tue, Jan 16, 2018 at 08:43:20AM +0800, Baoquan He wrote: >On 01/15/18 at 08:49pm, Chao Fan wrote: >> Hi Luiz, >> >> I don't know if this patch is OK for you. >> Of coure you can only use kaslr_mem=nn@ss to solve the 1G huge page >> issue. Because we know the region [0,1G] is not suitable for 1G

Re: [PATCH v6 5/5] kaslr: add kaslr_mem=nn[KMG]!ss[KMG] to avoid memory regions

2018-01-15 Thread Baoquan He
On 01/15/18 at 08:49pm, Chao Fan wrote: > Hi Luiz, > > I don't know if this patch is OK for you. > Of coure you can only use kaslr_mem=nn@ss to solve the 1G huge page > issue. Because we know the region [0,1G] is not suitable for 1G huge > page, so you can specify ksalr_mem=1G@0 of kaslr_mem=1G to

Re: [PATCH v6 5/5] kaslr: add kaslr_mem=nn[KMG]!ss[KMG] to avoid memory regions

2018-01-15 Thread Chao Fan
Hi Luiz, I don't know if this patch is OK for you. Of coure you can only use kaslr_mem=nn@ss to solve the 1G huge page issue. Because we know the region [0,1G] is not suitable for 1G huge page, so you can specify ksalr_mem=1G@0 of kaslr_mem=1G to solve your problem. But the regions may be too slow