[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200910090018.GC2285@linux>
Date: Thu, 10 Sep 2020 11:00:18 +0200
From: Oscar Salvador <osalvador@...e.de>
To: Vlastimil Babka <vbabka@...e.cz>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Michal Hocko <mhocko@...nel.org>,
Pavel Tatashin <pasha.tatashin@...een.com>,
David Hildenbrand <david@...hat.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>
Subject: Re: [RFC 2/5] mm, page_alloc: calculate pageset high and batch once
per zone
On Mon, Sep 07, 2020 at 06:36:25PM +0200, Vlastimil Babka wrote:
> We currently call pageset_set_high_and_batch() for each possible cpu,
> which repeats the same calculations of high and batch values.
>
> Instead call it once per zone, and it applies the calculated values
> to all per-cpu pagesets of the zone.
>
> This also allows removing zone_pageset_init() and __zone_pcp_update() wrappers.
>
> No functional change.
>
> Signed-off-by: Vlastimil Babka <vbabka@...e.cz>
I like this, it simplifies the things.
Reviewed-by: Oscar Salvador <osalvador@...e.de>
--
Oscar Salvador
SUSE L3
Powered by blists - more mailing lists