Re: [PATCH v2 3/7] mm, page_alloc: remove setup_pageset()

2020-10-22 Thread Oscar Salvador
On Thu, Oct 08, 2020 at 01:41:57PM +0200, Vlastimil Babka wrote: > We initialize boot-time pagesets with setup_pageset(), which sets high and > batch values that effectively disable pcplists. > > We can remove this wrapper if we just set these values for all pagesets in > pageset_init(). Non-boot

Re: [PATCH v2 3/7] mm, page_alloc: remove setup_pageset()

2020-10-08 Thread Michal Hocko
On Thu 08-10-20 14:56:13, Vlastimil Babka wrote: > On 10/8/20 2:23 PM, Michal Hocko wrote: > > On Thu 08-10-20 13:41:57, Vlastimil Babka wrote: > > > We initialize boot-time pagesets with setup_pageset(), which sets high and > > > batch values that effectively disable pcplists. > > > > > > We can

Re: [PATCH v2 3/7] mm, page_alloc: remove setup_pageset()

2020-10-08 Thread Vlastimil Babka
On 10/8/20 2:23 PM, Michal Hocko wrote: On Thu 08-10-20 13:41:57, Vlastimil Babka wrote: We initialize boot-time pagesets with setup_pageset(), which sets high and batch values that effectively disable pcplists. We can remove this wrapper if we just set these values for all pagesets in pageset_

Re: [PATCH v2 3/7] mm, page_alloc: remove setup_pageset()

2020-10-08 Thread Michal Hocko
On Thu 08-10-20 13:41:57, Vlastimil Babka wrote: > We initialize boot-time pagesets with setup_pageset(), which sets high and > batch values that effectively disable pcplists. > > We can remove this wrapper if we just set these values for all pagesets in > pageset_init(). Non-boot pagesets then su

[PATCH v2 3/7] mm, page_alloc: remove setup_pageset()

2020-10-08 Thread Vlastimil Babka
We initialize boot-time pagesets with setup_pageset(), which sets high and batch values that effectively disable pcplists. We can remove this wrapper if we just set these values for all pagesets in pageset_init(). Non-boot pagesets then subsequently update them to the proper values. No functional