Re: [RFC 4/5] mm, page_alloc: cache pageset high and batch in struct zone

2020-09-18 Thread Vlastimil Babka
On 9/10/20 1:30 PM, Oscar Salvador wrote: > On Mon, Sep 07, 2020 at 06:36:27PM +0200, Vlastimil Babka wrote: >*/ >> -static void setup_pageset(struct per_cpu_pageset *p); >> +static void pageset_init(struct per_cpu_pageset *p); > > this belongs to the respective patches Right, thanks. >>

Re: [RFC 4/5] mm, page_alloc: cache pageset high and batch in struct zone

2020-09-10 Thread Oscar Salvador
On Mon, Sep 07, 2020 at 06:36:27PM +0200, Vlastimil Babka wrote: */ > -static void setup_pageset(struct per_cpu_pageset *p); > +static void pageset_init(struct per_cpu_pageset *p); this belongs to the respective patches > -static void zone_set_pageset_high_and_batch(struct zone *zone) >

[RFC 4/5] mm, page_alloc: cache pageset high and batch in struct zone

2020-09-07 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 'central' ones. This will be useful later for making possible to disable pcplists temporarily by setting