Re: [RFC, PATCH 0/2] Large folios vs. SIGBUS semantics

From: Kiryl Shutsemau

Date: Tue Oct 21 2025 - 02:17:17 EST


On Mon, Oct 20, 2025 at 11:12:40PM -0700, Christoph Hellwig wrote:
> On Tue, Oct 21, 2025 at 10:28:02AM +1100, Dave Chinner wrote:
> > Fundamentally, we really don't care about the mapping/tlb
> > performance of the PTE fragments at EOF. Anyone using files large
> > enough to notice the TLB overhead improvements from mapping large
> > folios is not going to notice that the EOF mapping has a slightly
> > higher TLB miss overhead than everywhere else in the file.
> >
> > Please jsut fix the regression.
>
> Yeah. I'm not even sure why we're having this discussion. The
> behavior is mandated, we have test cases for it and there is
> literally no practical upside in changing the behavior from what
> we've done forever and what is mandated in Posix.

Okay, will fix.

--
Kiryl Shutsemau / Kirill A. Shutemov