[PATCH -v4 RESEND 2/9] mm, memcg: Support to charge/uncharge multiple swap entries

2016-10-28 Thread Huang, Ying
From: Huang Ying This patch make it possible to charge or uncharge a set of continuous swap entries in the swap cgroup. The number of swap entries is specified via an added parameter. This will be used for the THP (Transparent Huge Page) swap support. Where a swap cluster

[PATCH -v4 RESEND 2/9] mm, memcg: Support to charge/uncharge multiple swap entries

2016-10-28 Thread Huang, Ying
From: Huang Ying This patch make it possible to charge or uncharge a set of continuous swap entries in the swap cgroup. The number of swap entries is specified via an added parameter. This will be used for the THP (Transparent Huge Page) swap support. Where a swap cluster backing a THP may be