From: Dave Hansen <dave.hansen@intel.com>
To: Yang Wencheng <east.moutain.yang@gmail.com>, x86@kernel.org
Cc: Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Andy Lutomirski <luto@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
"Mike Rapoport (Microsoft)" <rppt@kernel.org>,
Vishal Moola <vishal.moola@gmail.com>,
"Lorenzo Stoakes (ARM)" <ljs@kernel.org>,
Coiby Xu <coiby.xu@gmail.com>,
Arjan van de Ven <arjan@linux.intel.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86/mm: Allow clflush_cache_range() to flush large ranges
Date: Mon, 30 Nov 2026 07:02:53 -0800 [thread overview]
Message-ID: <878a4116-b723-44a0-b73d-4e0b42656427@intel.com> (raw)
In-Reply-To: <20261130065719.174405-1-east.moutain.yang@gmail.com>
On 11/29/26 22:57, Yang Wencheng wrote:
> clflush_cache_range() accepts an unsigned int size even though several
> callers naturally pass size_t values. Ranges larger than UINT_MAX are
> therefore truncated and only partially flushed.
>
> Use size_t for the public interface and its internal helper so the
> complete range is preserved.
Does this cause any practical problems?
prev parent reply other threads:[~2026-11-30 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 6:57 Yang Wencheng
2026-11-30 15:02 ` Dave Hansen [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=878a4116-b723-44a0-b73d-4e0b42656427@intel.com \
--to=dave.hansen@intel.com \
--cc=arjan@linux.intel.com \
--cc=bp@alien8.de \
--cc=coiby.xu@gmail.com \
--cc=dave.hansen@linux.intel.com \
--cc=east.moutain.yang@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ljs@kernel.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rppt@kernel.org \
--cc=tglx@kernel.org \
--cc=vishal.moola@gmail.com \
--cc=x86@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
all inboxes | Powered by JetHome®