From: Kemeng Shi <shikemeng@huaweicloud.com>
To: akpm@linux-foundation.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org,
Baolin Wang <baolin.wang@linux.alibaba.com>
Subject: Re: [PATCH 1/2] mm/compaction: correct comment of candidate pfn in fast_isolate_freepages
Date: Fri, 21 Jul 2023 15:44:12 +0800 [thread overview]
Message-ID: <c9c8aa27-d1e0-3123-6767-31e94be89b91@huaweicloud.com> (raw)
In-Reply-To: <20230720115351.2039431-2-shikemeng@huaweicloud.com>
Hi Baolin, I try to resend a new v2 patchset, the patch 1 is still
missing. Here is the patch 1 in old version and I find it in lore
archive of lore.kernel.org with link [1].
It's likely that patch 1 is denied by linux-mm.kvack.org but accepted
by linux-kernel@vger.kernel.org. Is anyone know how to submit issue of
linux-mm.kvack.org, please let know. Thanks!
[1] https://lore.kernel.org/all/20230720115351.2039431-2-shikemeng@huaweicloud.com/
on 7/20/2023 7:53 PM, Kemeng Shi wrote:
> If no preferred one was not found, we will use candidate page with maximum
> pfn > min_pfn which is saved in high_pfn. Correct "minimum" to "maximum
> candidate" in comment.
>
> Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
> ---
> mm/compaction.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/compaction.c b/mm/compaction.c
> index eb1d3d9a422c..c0d8d08fc163 100644
> --- a/mm/compaction.c
> +++ b/mm/compaction.c
> @@ -1526,7 +1526,7 @@ static void fast_isolate_freepages(struct compact_control *cc)
> break;
> }
>
> - /* Use a minimum pfn if a preferred one was not found */
> + /* Use a maximum candidate pfn if a preferred one was not found */
> if (!page && high_pfn) {
> page = pfn_to_page(high_pfn);
>
>
--
Best wishes
Kemeng Shi
prev parent reply other threads:[~2023-07-21 7:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-20 11:53 [PATCH 0/2] Two minor cleanups for compaction Kemeng Shi
2023-07-20 6:08 ` Baolin Wang
2023-07-20 8:45 ` Kemeng Shi
2023-07-20 11:53 ` [PATCH 2/2] mm/compaction: avoid unneeded pageblock_end_pfn when no_set_skip_hint is set Kemeng Shi
2023-07-20 6:09 ` Baolin Wang
[not found] ` <20230720115351.2039431-2-shikemeng@huaweicloud.com>
2023-07-21 7:44 ` Kemeng Shi [this message]
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=c9c8aa27-d1e0-3123-6767-31e94be89b91@huaweicloud.com \
--to=shikemeng@huaweicloud.com \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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