[PATCH] mm, swap: Add swap_cluster_list

2016-08-24 Thread Huang, Ying
From: Huang Ying 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

Re: [PATCH] mm, swap: Add swap_cluster_list

2016-08-24 Thread Rik van Riel
On Wed, 2016-08-24 at 12:35 -0700, Huang, Ying wrote: > From: Huang Ying > > 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 lis