Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934431AbbDWN4M (ORCPT ); Thu, 23 Apr 2015 09:56:12 -0400 Received: from resqmta-ch2-03v.sys.comcast.net ([69.252.207.35]:49624 "EHLO resqmta-ch2-03v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbbDWN4J (ORCPT ); Thu, 23 Apr 2015 09:56:09 -0400 Date: Thu, 23 Apr 2015 08:56:06 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Gavin Guo cc: penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk Subject: Re: [PATCH v3] mm/slab_common: Support the slub_debug boot option on specific object size In-Reply-To: <1429795560-29131-1-git-send-email-gavin.guo@canonical.com> Message-ID: References: <1429795560-29131-1-git-send-email-gavin.guo@canonical.com> 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: 561 Lines: 18 On Thu, 23 Apr 2015, Gavin Guo wrote: > - if (KMALLOC_MIN_SIZE <= 64 && !kmalloc_caches[2] && i == 7) > - kmalloc_caches[2] = create_kmalloc_cache(NULL, 192, flags); > + if (i == 2) > + i = (KMALLOC_SHIFT_LOW - 1); > } Ok this is weird but there is a comment. 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/