Re: [PATCH] mm: incorporate zero pages into transparent huge pages

2015-02-10 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/10/2015 04:06 PM, Andrea Arcangeli wrote: > On Tue, Feb 10, 2015 at 12:47:37AM +0200, Ebru Akagunduz wrote: >> This patch improves THP collapse rates, by allowing zero pages. >> >> Currently THP can collapse 4kB pages into a THP when there are u

Re: [PATCH] mm: incorporate zero pages into transparent huge pages

2015-02-10 Thread Andrea Arcangeli
On Tue, Feb 10, 2015 at 12:47:37AM +0200, Ebru Akagunduz wrote: > This patch improves THP collapse rates, by allowing zero pages. > > Currently THP can collapse 4kB pages into a THP when there > are up to khugepaged_max_ptes_none pte_none ptes in a 2MB > range. This patch counts pte none and mapp

[PATCH] mm: incorporate zero pages into transparent huge pages

2015-02-09 Thread Ebru Akagunduz
This patch improves THP collapse rates, by allowing zero pages. Currently THP can collapse 4kB pages into a THP when there are up to khugepaged_max_ptes_none pte_none ptes in a 2MB range. This patch counts pte none and mapped zero pages with the same variable. The patch was tested with a program