[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240813163722.63c0cdf8838640b0a8d7ff4b@linux-foundation.org>
Date: Tue, 13 Aug 2024 16:37:22 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Saurabh Singh Sengar <ssengar@...ux.microsoft.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org, ssengar@...rosoft.com,
wei.liu@...nel.org
Subject: Re: [PATCH] mm/vmstat: Defer the refresh_zone_stat_thresholds after
all CPUs bringup
On Sun, 11 Aug 2024 21:37:54 -0700 Saurabh Singh Sengar <ssengar@...ux.microsoft.com> wrote:
> Without this patch, refresh_zone_stat_threshold was being called 1024 times.
> After applying the patch, it is called only once, which is same as the last
> iteration of the earlier 1024 calls. Further testing with this patch, I observed
> a 4.5-second improvement in the overall boot timing due to this fix, which is
> same as the total time taken by refresh_zone_stat_thresholds without thie patch,
> leading me to reasonably conclude that refresh_zone_stat_threshold now takes a
> negligible amount of time (likely just a few milliseconds).
Thanks, nice. I pasted this into the changelog.
Powered by blists - more mailing lists