Thread (1 message) 1 message, 1 author, 2016-09-08

Re: [PATCH -v3 03/10] mm, memcg: Support to charge/uncharge multiple swap entries

From: Huang, Ying <hidden>
Date: 2016-09-08 18:15:23
Also in: linux-mm, lkml

Anshuman Khandual [off-list ref] writes:
On 09/07/2016 10:16 PM, Huang, Ying wrote:
quoted
From: Huang Ying <redacted>

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 allocated and freed as a
whole.  So a set of continuous swap entries (512 on x86_64) backing one
Please use HPAGE_SIZE / PAGE_SIZE instead of hard coded number like 512.
Sure.  Will change it.

Best Regards,
Huang, Ying

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help