From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753994Ab3BDDWS (ORCPT ); Sun, 3 Feb 2013 22:22:18 -0500 Received: from mail.kernel.org ([198.145.19.201]:49166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753771Ab3BDDWP (ORCPT ); Sun, 3 Feb 2013 22:22:15 -0500 Date: Sun, 3 Feb 2013 17:53:33 -0800 From: Greg Kroah-Hartman To: Minchan Kim Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Nitin Gupta , Seth Jennings , Konrad Rzeszutek Wilk , Dan Magenheimer , Pekka Enberg , jmarchan@redhat.com Subject: Re: [PATCH v6 4/4] zram: get rid of lockdep warning Message-ID: <20130204015333.GA6548@kroah.com> References: <1359513702-18709-1-git-send-email-minchan@kernel.org> <1359513702-18709-4-git-send-email-minchan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1359513702-18709-4-git-send-email-minchan@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 30, 2013 at 11:41:42AM +0900, Minchan Kim wrote: > Lockdep complains about recursive deadlock of zram->init_lock. > [1] made it false positive because we can't request IO to zram > before setting disksize. Anyway, we should shut lockdep up to > avoid many reporting from user. > > [1] : zram: force disksize setting before using zram > > Acked-by: Jerome Marchand > Acked-by: Nitin Gupta > Signed-off-by: Minchan Kim > --- > drivers/staging/zram/zram_drv.c | 189 +++++++++++++++++++------------------ > drivers/staging/zram/zram_drv.h | 12 ++- > drivers/staging/zram/zram_sysfs.c | 11 ++- > 3 files changed, 116 insertions(+), 96 deletions(-) This patch fails to apply to my staging-next branch, but the three others did, so I took them. Please refresh this one and resend if you want it applied. thanks, greg k-h