On Mon, Nov 10, 2025 at 02:03:43PM +0000, Matthew Wilcox wrote:
> On Mon, Nov 10, 2025 at 03:00:32PM +0100, David Hildenbrand (Red Hat) wrote:
> > On 10.11.25 14:47, Matthew Wilcox wrote:
> > > On Mon, Nov 10, 2025 at 11:32:53AM +0000, Shivank Garg wrote:
> > > > When MADV_COLLAPSE is called on file-backed mappings (e.g., executable
> > > > text sections), the pages may still be dirty from recent writes. The
> > >
> > > That explanation derails my brain entirely.  Text isn't writable!  How
> > > can the pages be dirty and file-backed text?
> >
> > Files are writable :)
>
> Well, if you're root ...
>
> -rwxr-xr-x 1 root root 158632 Jun  4 11:14 /bin/ls
>

gcc foo.c -o foo && ./foo

Is more the issue I think

Reply via email to