[PATCH -V5 RESEND 20/21] swap: create PMD swap mapping when unmap the THP

2018-09-25 Thread Huang Ying
This is the final step of the THP swapin support. When reclaiming a anonymous THP, after allocating the huge swap cluster and add the THP into swap cache, the PMD page mapping will be changed to the mapping to the swap space. Previously, the PMD page mapping will be split before being changed.

[PATCH -V5 RESEND 20/21] swap: create PMD swap mapping when unmap the THP

2018-09-25 Thread Huang Ying
This is the final step of the THP swapin support. When reclaiming a anonymous THP, after allocating the huge swap cluster and add the THP into swap cache, the PMD page mapping will be changed to the mapping to the swap space. Previously, the PMD page mapping will be split before being changed.

[PATCH -V5 RESEND 20/21] swap: create PMD swap mapping when unmap the THP

2018-09-11 Thread Huang Ying
This is the final step of the THP swapin support. When reclaiming a anonymous THP, after allocating the huge swap cluster and add the THP into swap cache, the PMD page mapping will be changed to the mapping to the swap space. Previously, the PMD page mapping will be split before being changed.

[PATCH -V5 RESEND 20/21] swap: create PMD swap mapping when unmap the THP

2018-09-11 Thread Huang Ying
This is the final step of the THP swapin support. When reclaiming a anonymous THP, after allocating the huge swap cluster and add the THP into swap cache, the PMD page mapping will be changed to the mapping to the swap space. Previously, the PMD page mapping will be split before being changed.