From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx206.postini.com [74.125.245.206]) by kanga.kvack.org (Postfix) with SMTP id 034676B0062 for ; Tue, 19 Jun 2012 10:29:07 -0400 (EDT) Received: from /spool/local by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Jun 2012 08:29:06 -0600 Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id 9CCCB3E40054 for ; Tue, 19 Jun 2012 14:29:00 +0000 (WET) Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5JESiEw088924 for ; Tue, 19 Jun 2012 08:28:44 -0600 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5JETeLY031099 for ; Tue, 19 Jun 2012 08:29:40 -0600 Message-ID: <4FE08C9A.3010701@linux.vnet.ibm.com> Date: Tue, 19 Jun 2012 09:28:42 -0500 From: Seth Jennings MIME-Version: 1.0 Subject: Re: [PATCH 02/10] zcache: fix refcount leak References: <4FE0392E.3090300@linux.vnet.ibm.com> <4FE03949.4080308@linux.vnet.ibm.com> In-Reply-To: <4FE03949.4080308@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Xiao Guangrong Cc: Andrew Morton , Dan Magenheimer , LKML , linux-mm@kvack.org On 06/19/2012 03:33 AM, Xiao Guangrong wrote: > In zcache_get_pool_by_id, the refcount of zcache_host is not increased, but > it is always decreased in zcache_put_pool > > Signed-off-by: Xiao Guangrong Acked-by: Seth Jennings -- Seth -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754437Ab2FSO25 (ORCPT ); Tue, 19 Jun 2012 10:28:57 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:41932 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413Ab2FSO24 (ORCPT ); Tue, 19 Jun 2012 10:28:56 -0400 Message-ID: <4FE08C9A.3010701@linux.vnet.ibm.com> Date: Tue, 19 Jun 2012 09:28:42 -0500 From: Seth Jennings User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Xiao Guangrong CC: Andrew Morton , Dan Magenheimer , LKML , linux-mm@kvack.org Subject: Re: [PATCH 02/10] zcache: fix refcount leak References: <4FE0392E.3090300@linux.vnet.ibm.com> <4FE03949.4080308@linux.vnet.ibm.com> In-Reply-To: <4FE03949.4080308@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12061914-7606-0000-0000-00000143D43C Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/19/2012 03:33 AM, Xiao Guangrong wrote: > In zcache_get_pool_by_id, the refcount of zcache_host is not increased, but > it is always decreased in zcache_put_pool > > Signed-off-by: Xiao Guangrong Acked-by: Seth Jennings -- Seth