Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752447Ab2FKF2z (ORCPT ); Mon, 11 Jun 2012 01:28:55 -0400 Received: from LGEMRELSE7Q.lge.com ([156.147.1.151]:52737 "EHLO LGEMRELSE7Q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711Ab2FKF2y (ORCPT ); Mon, 11 Jun 2012 01:28:54 -0400 X-AuditID: 9c930197-b7b5dae000004b23-90-4fd58213ae88 Message-ID: <4FD58213.5000708@kernel.org> Date: Mon, 11 Jun 2012 14:28:51 +0900 From: Minchan Kim User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 Newsgroups: gmane.linux.kernel.mm,gmane.linux.kernel To: Sasha Levin CC: dan.magenheimer@oracle.com, konrad.wilk@oracle.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 03/10] mm: frontswap: split out __frontswap_curr_pages References: <1339325468-30614-1-git-send-email-levinsasha928@gmail.com> <1339325468-30614-4-git-send-email-levinsasha928@gmail.com> In-Reply-To: <1339325468-30614-4-git-send-email-levinsasha928@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 553 Lines: 18 On 06/10/2012 07:51 PM, Sasha Levin wrote: > Code was duplicated in two functions, clean it up. > > Also, assert that the deduplicated code runs under the swap spinlock. > > Signed-off-by: Sasha Levin Reviewed-by: Minchan Kim -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/