Re: [PATCH v6 01/12] mm/sparsemem: Introduce struct mem_section_usage

2019-05-04 Thread Pavel Tatashin
> > I'm ok with it being 16M for now unless it causes a problem in > > practice, i.e. something like the minimum hardware mapping alignment > > for physical memory being less than 16M. > > On second thought, arbitrary differences across architectures is a bit > sad. The most common nvdimm

Re: [PATCH v6 01/12] mm/sparsemem: Introduce struct mem_section_usage

2019-05-03 Thread Dan Williams
On Wed, May 1, 2019 at 11:07 PM Dan Williams wrote: > > On Wed, May 1, 2019 at 4:25 PM Pavel Tatashin > wrote: > > > > On 19-04-17 11:39:00, Dan Williams wrote: > > > Towards enabling memory hotplug to track partial population of a > > > section, introduce 'struct mem_section_usage'. > > > > >

Re: [PATCH v6 01/12] mm/sparsemem: Introduce struct mem_section_usage

2019-05-02 Thread Pavel Tatashin
On Thu, May 2, 2019 at 2:07 AM Dan Williams wrote: > > On Wed, May 1, 2019 at 4:25 PM Pavel Tatashin > wrote: > > > > On 19-04-17 11:39:00, Dan Williams wrote: > > > Towards enabling memory hotplug to track partial population of a > > > section, introduce 'struct mem_section_usage'. > > > > > >

Re: [PATCH v6 01/12] mm/sparsemem: Introduce struct mem_section_usage

2019-05-02 Thread Dan Williams
On Wed, May 1, 2019 at 4:25 PM Pavel Tatashin wrote: > > On 19-04-17 11:39:00, Dan Williams wrote: > > Towards enabling memory hotplug to track partial population of a > > section, introduce 'struct mem_section_usage'. > > > > A pointer to a 'struct mem_section_usage' instance replaces the

Re: [PATCH v6 01/12] mm/sparsemem: Introduce struct mem_section_usage

2019-05-01 Thread Pavel Tatashin
On 19-04-17 11:39:00, Dan Williams wrote: > Towards enabling memory hotplug to track partial population of a > section, introduce 'struct mem_section_usage'. > > A pointer to a 'struct mem_section_usage' instance replaces the existing > pointer to a 'pageblock_flags' bitmap. Effectively it adds

[PATCH v6 01/12] mm/sparsemem: Introduce struct mem_section_usage

2019-04-17 Thread Dan Williams
Towards enabling memory hotplug to track partial population of a section, introduce 'struct mem_section_usage'. A pointer to a 'struct mem_section_usage' instance replaces the existing pointer to a 'pageblock_flags' bitmap. Effectively it adds one more 'unsigned long' beyond the 'pageblock_flags'