Re: [PATCH] mm, swap: Add swap_cluster_list

From: Rik van Riel
Date: Wed Aug 24 2016 - 16:48:36 EST


On Wed, 2016-08-24 at 12:35 -0700, Huang, Ying wrote:
> From: Huang Ying <ying.huang@xxxxxxxxx>
>
> This is a code clean up patch without functionality changes.ÂÂThe
> swap_cluster_list data structure and its operations are introduced to
> provide some better encapsulation for the free cluster and discard
> cluster list operations.ÂÂThis avoid some code duplication, improved
> the code readability, and reduced the total line number.
>
> Cc: Tim Chen <tim.c.chen@xxxxxxxxx>
> Cc: Hugh Dickins <hughd@xxxxxxxxxx>
> Cc: Shaohua Li <shli@xxxxxxxxxx>
> Cc: Rik van Riel <riel@xxxxxxxxxx>
> Acked-by: Minchan Kim <minchan@xxxxxxxxxx>
> Signed-off-by: "Huang, Ying" <ying.huang@xxxxxxxxx>
>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>