[PATCH 01/11] mm/page_alloc: Split per cpu page lists and zone stats

2021-04-14 Thread Mel Gorman
The per-cpu page allocator lists and the per-cpu vmstat deltas are stored in the same struct per_cpu_pages even though vmstats have no direct impact on the per-cpu page lists. This is inconsistent because the vmstats for a node are stored on a dedicated structure. The bigger issue is that the

Re: [PATCH 01/11] mm/page_alloc: Split per cpu page lists and zone stats

2021-04-13 Thread Mel Gorman
On Mon, Apr 12, 2021 at 07:43:18PM +0200, Vlastimil Babka wrote: > On 4/7/21 10:24 PM, Mel Gorman wrote: > > @@ -6691,7 +6697,7 @@ static __meminit void zone_pcp_init(struct zone *zone) > > * relies on the ability of the linker to provide the > > * offset of a (static) per cpu variable

Re: [PATCH 01/11] mm/page_alloc: Split per cpu page lists and zone stats

2021-04-12 Thread Vlastimil Babka
On 4/7/21 10:24 PM, Mel Gorman wrote: > @@ -6691,7 +6697,7 @@ static __meminit void zone_pcp_init(struct zone *zone) >* relies on the ability of the linker to provide the >* offset of a (static) per cpu variable into the per cpu area. >*/ > - zone->pageset = _pageset; >

[PATCH 01/11] mm/page_alloc: Split per cpu page lists and zone stats

2021-04-07 Thread Mel Gorman
The per-cpu page allocator lists and the per-cpu vmstat deltas are stored in the same struct per_cpu_pages even though vmstats have no direct impact on the per-cpu page lists. This is inconsistent because the vmstats for a node are stored on a dedicated structure. The bigger issue is that the