Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760841AbbBIOx3 (ORCPT ); Mon, 9 Feb 2015 09:53:29 -0500 Received: from resqmta-ch2-03v.sys.comcast.net ([69.252.207.35]:51116 "EHLO resqmta-ch2-03v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760736AbbBIOx2 (ORCPT ); Mon, 9 Feb 2015 09:53:28 -0500 Date: Mon, 9 Feb 2015 08:53:26 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Vaishali Thakkar cc: Stephen Rothwell , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/slab_common: Use kmem_cache_free In-Reply-To: <20150209052835.GA3559@vaishali-Ideapad-Z570> Message-ID: References: <20150209052835.GA3559@vaishali-Ideapad-Z570> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 436 Lines: 11 On Mon, 9 Feb 2015, Vaishali Thakkar wrote: > Here, free memory is allocated using kmem_cache_zalloc. > So, use kmem_cache_free instead of kfree. Acked-by: Christoph Lameter -- 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/