From: Sasha Levin <sashal@kernel.org>
To: "Vlastimil Babka (SUSE)" <vbabka@kernel.org>
Cc: Sasha Levin <sashal@kernel.org>,
Salvatore Dipietro <dipiets@amazon.it>,
stable@vger.kernel.org, dipietro.salvatore@gmail.com,
Andrew Morton <akpm@linux-foundation.org>,
Johannes Weiner <hannes@cmpxchg.org>,
linux-mm@kvack.org
Subject: Re: [PATCH 6.18.y v2 0/2] mm/page_alloc: fix iomap buffered write regression from 5d8edfb900d5
Date: Thu, 26 Nov 2026 17:39:17 -0500 [thread overview]
Message-ID: <20261126223918.1165617-3-sashal@kernel.org> (raw)
In-Reply-To: <5b47ee1e-0b0c-4b0c-9db9-43c9fbaaec96@kernel.org>
On Wed, Nov 25, 2026 at 10:51:16AM +0100, Vlastimil Babka (SUSE) wrote:
> without also b480cbb071020bd590a0dc0166635b448e9fc46b and especially
> 9f2fd03c9bde366c928c9242fc9b2e2c5111a134. We didn't initially thought those
> worth backporting, but now they should, otherwise we have a weird
> combination of behavior for highatomic pageblocks in the stable kernels.
> Sasha can you see if those apply easily wherever 6ee3d87b9408 went, or need
> help? Thanks.
7.3 already has both b480cbb07102 ("mm/page_alloc: don't increase
highatomic reserve after pcp alloc") and 9f2fd03c9bde ("mm/page_alloc:
use existing highatomic reserves on the buddy fastpath") from mainline.
6.18 and 6.12: both apply with context changes only (on 6.18 the
gfp_to_alloc_flags() context differs for 9f2fd03c9bde, on 6.12
cond_accept_memory() still takes two arguments next to the
b480cbb07102 hunk). I'll queue them for those two trees.
6.6 and 6.1: b480cbb07102 doesn't apply. __rmqueue_pcplist() has no
nr_pcp_alloc() there, and reserve_highatomic_pageblock() takes
(page, zone) on 6.6 and (page, zone, order) on 6.1. These need real
backports.
5.15: rmqueue() does "page = rmqueue_pcplist(...); goto out;" with no
fallback to the buddy allocator, so b480cbb07102's "return NULL" for
ALLOC_HIGHATOMIC would fail the allocation instead of sending it to
the reserve. That one needs a rework.
5.10 doesn't have 6ee3d87b9408 and needs nothing.
fe21f930d1e6 and 0e05a469c294 stay queued as they are. Backports for
6.6, 6.1 and 5.15 would be welcome.
--
Thanks,
Sasha
prev parent reply other threads:[~2026-11-26 22:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 11:02 [PATCH 6.18.y 0/3] mm/page_alloc: fix iomap buffered write regression from 5d8edfb900d5 Salvatore Dipietro
2026-11-13 11:02 ` [PATCH 6.18.y 1/3] mm: page_alloc: do not give all non-blocking requests reserve access Salvatore Dipietro
2026-11-13 11:02 ` [PATCH 6.18.y 2/3] mm: page_alloc: remove ALLOC_NON_BLOCK from ALLOC_RESERVES Salvatore Dipietro
2026-11-13 11:02 ` [PATCH 6.18.y 3/3] mm/page_alloc: avoid direct reclaim and compaction for costly __GFP_NORETRY allocations Salvatore Dipietro
2026-11-14 11:03 ` sashiko-bot
2026-11-13 19:09 ` [PATCH 6.18.y 0/3] mm/page_alloc: fix iomap buffered write regression from 5d8edfb900d5 Sasha Levin
2026-11-14 17:42 ` Sasha Levin
2026-11-16 11:17 ` [PATCH 6.18.y v2 0/2] " Salvatore Dipietro
2026-11-16 11:17 ` [PATCH 6.18.y v2 1/2] mm: page_alloc: remove ALLOC_NON_BLOCK from ALLOC_RESERVES Salvatore Dipietro
2026-11-16 11:17 ` [PATCH 6.18.y v2 2/2] mm/page_alloc: avoid direct reclaim and compaction for costly __GFP_NORETRY allocations Salvatore Dipietro
2026-11-16 16:06 ` [PATCH 6.18.y v2 0/2] mm/page_alloc: fix iomap buffered write regression from 5d8edfb900d5 Sasha Levin
2026-11-25 9:51 ` Vlastimil Babka (SUSE)
2026-11-26 22:39 ` Sasha Levin [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=20261126223918.1165617-3-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=dipietro.salvatore@gmail.com \
--cc=dipiets@amazon.it \
--cc=hannes@cmpxchg.org \
--cc=linux-mm@kvack.org \
--cc=stable@vger.kernel.org \
--cc=vbabka@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