Re: [patch 2/5] sparse-vmemmap: specify vmemmap population range in bytes

2013-03-20 Thread David Miller
From: Johannes Weiner Date: Wed, 20 Mar 2013 14:03:29 -0400 > The sparse code, when asking the architecture to populate the vmemmap, > specifies the section range as a starting page and a number of pages. > > This is an awkward interface, because none of the arch-specific code > actually thinks

[patch 2/5] sparse-vmemmap: specify vmemmap population range in bytes

2013-03-20 Thread Johannes Weiner
The sparse code, when asking the architecture to populate the vmemmap, specifies the section range as a starting page and a number of pages. This is an awkward interface, because none of the arch-specific code actually thinks of the range in terms of 'struct page' units and always translates it

[patch 2/5] sparse-vmemmap: specify vmemmap population range in bytes

2013-03-20 Thread Johannes Weiner
The sparse code, when asking the architecture to populate the vmemmap, specifies the section range as a starting page and a number of pages. This is an awkward interface, because none of the arch-specific code actually thinks of the range in terms of 'struct page' units and always translates it

Re: [patch 2/5] sparse-vmemmap: specify vmemmap population range in bytes

2013-03-20 Thread David Miller
From: Johannes Weiner han...@cmpxchg.org Date: Wed, 20 Mar 2013 14:03:29 -0400 The sparse code, when asking the architecture to populate the vmemmap, specifies the section range as a starting page and a number of pages. This is an awkward interface, because none of the arch-specific code