Re: [PATCH] middle-end/114563 - improve release_pages

2024-08-01 Thread Richard Biener
On Wed, Jul 31, 2024 at 5:37 PM Andi Kleen wrote: > > On Wed, Jul 31, 2024 at 04:02:22PM +0200, Richard Biener wrote: > > The following improves release_pages when using the madvise path > > to sort the freelist to get more page entries contiguous and possibly > > release them. This populates the

Re: [PATCH] middle-end/114563 - improve release_pages

2024-07-31 Thread Andi Kleen
On Wed, Jul 31, 2024 at 04:02:22PM +0200, Richard Biener wrote: > The following improves release_pages when using the madvise path > to sort the freelist to get more page entries contiguous and possibly > release them. This populates the unused prev pointer so the reclaim > can then easily unlink

[PATCH] middle-end/114563 - improve release_pages

2024-07-31 Thread Richard Biener
The following improves release_pages when using the madvise path to sort the freelist to get more page entries contiguous and possibly release them. This populates the unused prev pointer so the reclaim can then easily unlink from the freelist without re-ordering it. The paths not having madvise d