[PATCH -V5 RESEND 08/21] swap: Support to read a huge swap cluster for swapin a THP

2018-09-25 Thread Huang Ying
To swapin a THP in one piece, we need to read a huge swap cluster from the swap device. This patch revised the __read_swap_cache_async() and its callers and callees to support this. If __read_swap_cache_async() find the swap cluster of the specified swap entry is huge, it will try to allocate a

[PATCH -V5 RESEND 08/21] swap: Support to read a huge swap cluster for swapin a THP

2018-09-25 Thread Huang Ying
To swapin a THP in one piece, we need to read a huge swap cluster from the swap device. This patch revised the __read_swap_cache_async() and its callers and callees to support this. If __read_swap_cache_async() find the swap cluster of the specified swap entry is huge, it will try to allocate a

[PATCH -V5 RESEND 08/21] swap: Support to read a huge swap cluster for swapin a THP

2018-09-11 Thread Huang Ying
To swapin a THP in one piece, we need to read a huge swap cluster from the swap device. This patch revised the __read_swap_cache_async() and its callers and callees to support this. If __read_swap_cache_async() find the swap cluster of the specified swap entry is huge, it will try to allocate a

[PATCH -V5 RESEND 08/21] swap: Support to read a huge swap cluster for swapin a THP

2018-09-11 Thread Huang Ying
To swapin a THP in one piece, we need to read a huge swap cluster from the swap device. This patch revised the __read_swap_cache_async() and its callers and callees to support this. If __read_swap_cache_async() find the swap cluster of the specified swap entry is huge, it will try to allocate a