From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756116AbcHXUsd (ORCPT ); Wed, 24 Aug 2016 16:48:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58340 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755302AbcHXUsb (ORCPT ); Wed, 24 Aug 2016 16:48:31 -0400 Message-ID: <1472071627.2751.33.camel@redhat.com> Subject: Re: [PATCH] mm, swap: Add swap_cluster_list From: Rik van Riel To: "Huang, Ying" , Andrew Morton Cc: tim.c.chen@intel.com, dave.hansen@intel.com, andi.kleen@intel.com, aaron.lu@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Hugh Dickins , Shaohua Li Date: Wed, 24 Aug 2016 16:47:07 -0400 In-Reply-To: <1472067356-16004-1-git-send-email-ying.huang@intel.com> References: <1472067356-16004-1-git-send-email-ying.huang@intel.com> Organization: Red Hat, Inc. Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 24 Aug 2016 20:47:24 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 list operations.  This avoid some code duplication, improved > the code readability, and reduced the total line number. > > Cc: Tim Chen > Cc: Hugh Dickins > Cc: Shaohua Li > Cc: Rik van Riel > Acked-by: Minchan Kim > Signed-off-by: "Huang, Ying" > Acked-by: Rik van Riel