From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id A92236B0071 for ; Tue, 12 Jan 2010 01:48:16 -0500 (EST) Received: by yxe10 with SMTP id 10so17373130yxe.12 for ; Mon, 11 Jan 2010 22:48:15 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1263275308.23507.18.camel@barrios-desktop> References: <1263271018.23507.8.camel@barrios-desktop> <1263275308.23507.18.camel@barrios-desktop> Date: Tue, 12 Jan 2010 12:18:14 +0530 Message-ID: Subject: Re: [PATCH] Fix reset of ramzswap From: Nitin Gupta Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org To: Minchan Kim Cc: Greg KH , LKML , linux-mm List-ID: On Tue, Jan 12, 2010 at 11:18 AM, Minchan Kim wrote: > On Tue, 2010-01-12 at 11:00 +0530, Nitin Gupta wrote: >> On Tue, Jan 12, 2010 at 10:06 AM, minchan.kim wrote: >> >> Are you sure you checked this patch? > >> This check makes sure that you cannot reset an active swap device. >> When device in swapoff'ed the ioctl works as expected. >> > It seems my test was wrong. > Maybe my test case don't swapoff swap device. > Sorry. Ignore this patch, pz. > Thanks for the reivew, Nitin. > > I have one more patch. But I don't want to conflict your pending > patches. If it is right, pz, merge this patch with your pending series. > I will merge your patches with my pending series and add appropriate signed-off-by lines. > >From bf810ec09761b0f37eca7ba22d72fb2b1f2cba50 Mon Sep 17 00:00:00 2001 > From: Minchan Kim > Date: Tue, 12 Jan 2010 14:46:46 +0900 > Subject: [PATCH] Remove unnecessary check of ramzswap_write > > Nitin already implement swap slot free callback. > So, we don't need this test any more. > > Signed-off-by: Minchan Kim Great catch! thanks. I think, we should avoid adding linux-mm to CC list (unless its about xvmalloc allocator). LKML alone should be sufficient. Thanks, Nitin -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org