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

From: Christoph Hellwig

Date: Tue Oct 21 2025 - 02:12:52 EST


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.