Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752646Ab3GGPrq (ORCPT ); Sun, 7 Jul 2013 11:47:46 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:51409 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752381Ab3GGPrp (ORCPT ); Sun, 7 Jul 2013 11:47:45 -0400 MIME-Version: 1.0 In-Reply-To: <1371623635-26575-1-git-send-email-iamjoonsoo.kim@lge.com> References: <1371623635-26575-1-git-send-email-iamjoonsoo.kim@lge.com> Date: Sun, 7 Jul 2013 18:47:43 +0300 X-Google-Sender-Auth: s7yYIT5jPxLcIsU7NITttH0w0w8 Message-ID: Subject: Re: [PATCH] slub: do not put a slab to cpu partial list when cpu_partial is 0 From: Pekka Enberg To: Joonsoo Kim Cc: Christoph Lameter , Matt Mackall , "linux-mm@kvack.org" , LKML Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 609 Lines: 13 On Wed, Jun 19, 2013 at 9:33 AM, Joonsoo Kim wrote: > In free path, we don't check number of cpu_partial, so one slab can > be linked in cpu partial list even if cpu_partial is 0. To prevent this, > we should check number of cpu_partial in put_cpu_partial(). > > Signed-off-by: Joonsoo Kim Applied, thanks a lot! -- 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/