Re: [PATCH 6/9] mm, page_alloc: cache pageset high and batch in struct zone

2020-10-06 Thread Vlastimil Babka
On 10/5/20 3:28 PM, Michal Hocko wrote: On Tue 22-09-20 16:37:09, Vlastimil Babka wrote: All per-cpu pagesets for a zone use the same high and batch values, that are duplicated there just for performance (locality) reasons. This patch adds the same variables also to struct zone as a shared

Re: [PATCH 6/9] mm, page_alloc: cache pageset high and batch in struct zone

2020-10-06 Thread Vlastimil Babka
On 9/25/20 12:34 PM, David Hildenbrand wrote: On 22.09.20 16:37, Vlastimil Babka wrote: @@ -6300,6 +6310,8 @@ static __meminit void zone_pcp_init(struct zone *zone) * offset of a (static) per cpu variable into the per cpu area. */ zone->pageset = _pageset; +

Re: [PATCH 6/9] mm, page_alloc: cache pageset high and batch in struct zone

2020-10-05 Thread Michal Hocko
On Tue 22-09-20 16:37:09, Vlastimil Babka wrote: > All per-cpu pagesets for a zone use the same high and batch values, that are > duplicated there just for performance (locality) reasons. This patch adds the > same variables also to struct zone as a shared copy. > > This will be useful later for

Re: [PATCH 6/9] mm, page_alloc: cache pageset high and batch in struct zone

2020-09-25 Thread David Hildenbrand
On 22.09.20 16:37, Vlastimil Babka wrote: > All per-cpu pagesets for a zone use the same high and batch values, that are > duplicated there just for performance (locality) reasons. This patch adds the > same variables also to struct zone as a shared copy. > > This will be useful later for making

[PATCH 6/9] mm, page_alloc: cache pageset high and batch in struct zone

2020-09-22 Thread Vlastimil Babka
All per-cpu pagesets for a zone use the same high and batch values, that are duplicated there just for performance (locality) reasons. This patch adds the same variables also to struct zone as a shared copy. This will be useful later for making possible to disable pcplists temporarily by setting