From: Andrew Morton <akpm@linux-foundation.org>
To: Saurabh Singh Sengar <ssengar@linux.microsoft.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
ssengar@microsoft.com, wei.liu@kernel.org
Subject: Re: [PATCH] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
Date: Tue, 13 Aug 2024 16:37:22 -0700 [thread overview]
Message-ID: <20240813163722.63c0cdf8838640b0a8d7ff4b@linux-foundation.org> (raw)
In-Reply-To: <20240812043754.GA7619@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net>
On Sun, 11 Aug 2024 21:37:54 -0700 Saurabh Singh Sengar <ssengar@linux.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.
next prev parent reply other threads:[~2024-08-13 23:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-05 8:48 Saurabh Sengar
2024-07-05 20:59 ` Andrew Morton
2024-07-09 4:57 ` Saurabh Singh Sengar
2024-07-09 21:45 ` Andrew Morton
2024-08-10 7:04 ` Andrew Morton
2024-08-12 4:37 ` Saurabh Singh Sengar
2024-08-13 23:37 ` Andrew Morton [this message]
2024-08-23 15:32 ` Christoph Lameter (Ampere)
2024-08-28 5:37 ` Saurabh Singh Sengar
2024-08-28 15:43 ` Christoph Lameter (Ampere)
2024-08-09 5:20 ` Andrew Morton
2024-08-09 5:49 ` Saurabh Singh Sengar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240813163722.63c0cdf8838640b0a8d7ff4b@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ssengar@linux.microsoft.com \
--cc=ssengar@microsoft.com \
--cc=wei.liu@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox