Re: [PATCH -v3 04/10] mm, THP, swap: Add swap cluster allocate/free functions
From: Anshuman Khandual
Date: Thu Sep 08 2016 - 04:30:51 EST
On 09/07/2016 10:16 PM, Huang, Ying wrote:
> From: Huang Ying <ying.huang@xxxxxxxxx>
>
> The swap cluster allocation/free functions are added based on the
> existing swap cluster management mechanism for SSD. These functions
> don't work for the rotating hard disks because the existing swap cluster
> management mechanism doesn't work for them. The hard disks support may
> be added if someone really need it. But that needn't be included in
> this patchset.
>
> This will be used for the THP (Transparent Huge Page) swap support.
> Where one swap cluster will hold the contents of each THP swapped out.
Which tree this series is based against ? This patch does not apply
on the mainline kernel.