Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-09-14 Thread Dan Williams
On Wed, Sep 14, 2016 at 3:11 PM, Raslan, KarimAllah wrote: > > Ahmed, Karim Allah > karah...@amazon.de > > > >> On Sep 15, 2016, at 12:05 AM, Dan Williams wrote: >> >> On Wed, Sep 14, 2016 at 2:40 PM, Raslan, KarimAllah >>

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-09-14 Thread Dan Williams
On Wed, Sep 14, 2016 at 3:11 PM, Raslan, KarimAllah wrote: > > Ahmed, Karim Allah > karah...@amazon.de > > > >> On Sep 15, 2016, at 12:05 AM, Dan Williams wrote: >> >> On Wed, Sep 14, 2016 at 2:40 PM, Raslan, KarimAllah >> wrote: >>> >>> >>> On 6/20/16, 10:23 AM, "Michal Hocko" wrote: >>> >>>

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-09-14 Thread Raslan, KarimAllah
Ahmed, Karim Allah karah...@amazon.de > On Sep 15, 2016, at 12:05 AM, Dan Williams wrote: > > On Wed, Sep 14, 2016 at 2:40 PM, Raslan, KarimAllah > wrote: >> >> >> On 6/20/16, 10:23 AM, "Michal Hocko" wrote: >> >>On

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-09-14 Thread Raslan, KarimAllah
Ahmed, Karim Allah karah...@amazon.de > On Sep 15, 2016, at 12:05 AM, Dan Williams wrote: > > On Wed, Sep 14, 2016 at 2:40 PM, Raslan, KarimAllah > wrote: >> >> >> On 6/20/16, 10:23 AM, "Michal Hocko" wrote: >> >>On Sat 18-06-16 12:11:19, KarimAllah Ahmed wrote: >>> When sparse

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-09-14 Thread Dan Williams
On Wed, Sep 14, 2016 at 2:40 PM, Raslan, KarimAllah wrote: > > > On 6/20/16, 10:23 AM, "Michal Hocko" wrote: > > On Sat 18-06-16 12:11:19, KarimAllah Ahmed wrote: > > When sparse memory model is used an array of memory sections is created > to >

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-09-14 Thread Dan Williams
On Wed, Sep 14, 2016 at 2:40 PM, Raslan, KarimAllah wrote: > > > On 6/20/16, 10:23 AM, "Michal Hocko" wrote: > > On Sat 18-06-16 12:11:19, KarimAllah Ahmed wrote: > > When sparse memory model is used an array of memory sections is created > to > > track each block of contiguous

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-09-14 Thread Raslan, KarimAllah
On 6/20/16, 10:23 AM, "Michal Hocko" wrote: On Sat 18-06-16 12:11:19, KarimAllah Ahmed wrote: > When sparse memory model is used an array of memory sections is created to > track each block of contiguous physical pages. Each element of this array > contains

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-09-14 Thread Raslan, KarimAllah
On 6/20/16, 10:23 AM, "Michal Hocko" wrote: On Sat 18-06-16 12:11:19, KarimAllah Ahmed wrote: > When sparse memory model is used an array of memory sections is created to > track each block of contiguous physical pages. Each element of this array > contains PAGES_PER_SECTION

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-06-20 Thread Michal Hocko
On Sat 18-06-16 12:11:19, KarimAllah Ahmed wrote: > When sparse memory model is used an array of memory sections is created to > track each block of contiguous physical pages. Each element of this array > contains PAGES_PER_SECTION pages. During the creation of this array the actual > boundaries

Re: [PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-06-20 Thread Michal Hocko
On Sat 18-06-16 12:11:19, KarimAllah Ahmed wrote: > When sparse memory model is used an array of memory sections is created to > track each block of contiguous physical pages. Each element of this array > contains PAGES_PER_SECTION pages. During the creation of this array the actual > boundaries

[PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-06-18 Thread KarimAllah Ahmed
When sparse memory model is used an array of memory sections is created to track each block of contiguous physical pages. Each element of this array contains PAGES_PER_SECTION pages. During the creation of this array the actual boundaries of the memory block is lost, so the whole block is either

[PATCH] sparse: Track the boundaries of memory sections for accurate checks

2016-06-18 Thread KarimAllah Ahmed
When sparse memory model is used an array of memory sections is created to track each block of contiguous physical pages. Each element of this array contains PAGES_PER_SECTION pages. During the creation of this array the actual boundaries of the memory block is lost, so the whole block is either