From: Pasha Tatashin <pasha.tatashin@soleen.com>
To: tt roxy <roxy520tt@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Ren Wei <enjou1224z@gmail.com>,
linux-mm@kvack.org, pasha.tatashin@soleen.com, vega@nebusec.ai,
Vlastimil Babka <vbabka@kernel.org>,
Suren Baghdasaryan <surenb@google.com>,
Michal Hocko <mhocko@suse.com>,
Brendan Jackman <jackmanb@google.com>,
Johannes Weiner <hannes@cmpxchg.org>
Subject: Re: [PATCH 1/1] mm/page_table_check: widen map counters
Date: Sun, 19 Jul 2026 15:20:55 +0000 [thread overview]
Message-ID: <alzrI44_Wg_aTx_1@plex> (raw)
In-Reply-To: <CALMqdkTUm=MBStkk85y=YAnQfHB_Jxis-BMZhcxfz=-YJfQDcg@mail.gmail.com>
On 07-18 18:21, tt roxy wrote:
> On Sat, Jul 18, 2026 at 1:31 PM Andrew Morton <akpm@linux-foundation.org> wrote:
> >
> > On Fri, 17 Jul 2026 22:11:08 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
> >
> > > Probably adding __aligned(sizeof(atomic64_t)) will address?
> >
> > err, no. I think page_ext code will need alteration for this.
>
> Thanks Andrew and Matthew.
>
> Agreed. Widening the counters is not the right direction: it changes the
> page_ext storage/alignment requirements, and normal page mapcount is still
> 32-bit as Matthew pointed out.
Also, double page table check overhead. So, I agree let's address the
special case instead of widening page_ext.
Thanks,
Pasha
>
> I'll rework this around a zero-page-specific fix and send v2 after checking
> the exact page_table_check paths.
>
> Thanks for the review.
next prev parent reply other threads:[~2026-07-19 15:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1784337674.git.roxy520tt@gmail.com>
2026-07-18 4:27 ` [PATCH 1/1] mm/page_table_check: widen map counters Ren Wei
2026-07-18 5:11 ` Andrew Morton
2026-07-18 5:31 ` Andrew Morton
2026-07-18 10:21 ` tt roxy
2026-07-19 15:20 ` Pasha Tatashin [this message]
2026-07-18 5:17 ` Matthew Wilcox
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=alzrI44_Wg_aTx_1@plex \
--to=pasha.tatashin@soleen.com \
--cc=akpm@linux-foundation.org \
--cc=enjou1224z@gmail.com \
--cc=hannes@cmpxchg.org \
--cc=jackmanb@google.com \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=roxy520tt@gmail.com \
--cc=surenb@google.com \
--cc=vbabka@kernel.org \
--cc=vega@nebusec.ai \
/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