Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-21 Thread Chao Fan
On Thu, Jun 22, 2017 at 11:20:32AM +0800, Baoquan He wrote: >On 06/22/17 at 11:10am, Chao Fan wrote: >> Hi all, >> >> After testing this issue for 100 times in total, I think this patchset >> works well. > >Thanks for your effort, Chao! No problem, and many thanks for your patch, Bao! > >Then I

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-21 Thread Chao Fan
On Thu, Jun 22, 2017 at 11:20:32AM +0800, Baoquan He wrote: >On 06/22/17 at 11:10am, Chao Fan wrote: >> Hi all, >> >> After testing this issue for 100 times in total, I think this patchset >> works well. > >Thanks for your effort, Chao! No problem, and many thanks for your patch, Bao! > >Then I

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-21 Thread Baoquan He
On 06/22/17 at 11:10am, Chao Fan wrote: > Hi all, > > After testing this issue for 100 times in total, I think this patchset > works well. Thanks for your effort, Chao! Then I will repost with some modification according to the kbuild test report and your comment, and thanks again for that.

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-21 Thread Baoquan He
On 06/22/17 at 11:10am, Chao Fan wrote: > Hi all, > > After testing this issue for 100 times in total, I think this patchset > works well. Thanks for your effort, Chao! Then I will repost with some modification according to the kbuild test report and your comment, and thanks again for that.

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-21 Thread Chao Fan
Hi all, After testing this issue for 100 times in total, I think this patchset works well. The size of physical memory in my test machine is 229G, the size of mirror region is 26G. In the 100 times, 50 times are with this patchset, 50 times are without it. Here is my test result:

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-21 Thread Chao Fan
Hi all, After testing this issue for 100 times in total, I think this patchset works well. The size of physical memory in my test machine is 229G, the size of mirror region is 26G. In the 100 times, 50 times are with this patchset, 50 times are without it. Here is my test result:

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-15 Thread 'Baoquan He'
On 06/15/17 at 08:34am, Izumi, Taku wrote: > Dear Baoquan, > > > > Our customer reported that Kernel text may be located on non-mirror > > > region (movable zone) when both address range mirroring feature and > > > KASLR are enabled. > >I know your customer :) LOL, have to agree. > > > The

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-15 Thread 'Baoquan He'
On 06/15/17 at 08:34am, Izumi, Taku wrote: > Dear Baoquan, > > > > Our customer reported that Kernel text may be located on non-mirror > > > region (movable zone) when both address range mirroring feature and > > > KASLR are enabled. > >I know your customer :) LOL, have to agree. > > > The

RE: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-15 Thread Izumi, Taku
Dear Baoquan, > > Our customer reported that Kernel text may be located on non-mirror > > region (movable zone) when both address range mirroring feature and > > KASLR are enabled. I know your customer :) > > The functions of address range mirroring feature are as follows. > > - The physical

RE: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-15 Thread Izumi, Taku
Dear Baoquan, > > Our customer reported that Kernel text may be located on non-mirror > > region (movable zone) when both address range mirroring feature and > > KASLR are enabled. I know your customer :) > > The functions of address range mirroring feature are as follows. > > - The physical

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-15 Thread Baoquan He
Sorry, forget adding Taku to the list. Hi Taku, On 06/15/17 at 03:52pm, Baoquan He wrote: > Our customer reported that Kernel text may be located on non-mirror > region (movable zone) when both address range mirroring feature and > KASLR are enabled. > > The functions of address range mirroring

Re: [RFC][PATCH 0/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions if existed

2017-06-15 Thread Baoquan He
Sorry, forget adding Taku to the list. Hi Taku, On 06/15/17 at 03:52pm, Baoquan He wrote: > Our customer reported that Kernel text may be located on non-mirror > region (movable zone) when both address range mirroring feature and > KASLR are enabled. > > The functions of address range mirroring