Re: [RFC v2 1/5] mm: defer THP insertion to khugepaged

2025-02-17 Thread Nico Pache
On Mon, Feb 17, 2025 at 7:59 AM Usama Arif wrote: > > > > On 11/02/2025 00:40, Nico Pache wrote: > > setting /transparent_hugepages/enabled=always allows applications > > to benefit from THPs without having to madvise. However, the pf handler > > takes very few considerations to decide weather or

Re: [RFC v2 1/5] mm: defer THP insertion to khugepaged

2025-02-17 Thread Usama Arif
On 11/02/2025 00:40, Nico Pache wrote: > setting /transparent_hugepages/enabled=always allows applications > to benefit from THPs without having to madvise. However, the pf handler > takes very few considerations to decide weather or not to actually use a > THP. This can lead to a lot of wasted

[RFC v2 1/5] mm: defer THP insertion to khugepaged

2025-02-10 Thread Nico Pache
setting /transparent_hugepages/enabled=always allows applications to benefit from THPs without having to madvise. However, the pf handler takes very few considerations to decide weather or not to actually use a THP. This can lead to a lot of wasted memory. khugepaged only operates on memory that wa