From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f50.google.com (mail-qg0-f50.google.com [209.85.192.50]) by kanga.kvack.org (Postfix) with ESMTP id 01B476B0031 for ; Wed, 9 Jul 2014 10:33:43 -0400 (EDT) Received: by mail-qg0-f50.google.com with SMTP id j5so6503281qga.9 for ; Wed, 09 Jul 2014 07:33:43 -0700 (PDT) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net. [2001:558:fe2d:43:76:96:30:48]) by mx.google.com with ESMTP id t96si29628985qgd.15.2014.07.09.07.33.42 for ; Wed, 09 Jul 2014 07:33:43 -0700 (PDT) Date: Wed, 9 Jul 2014 09:33:39 -0500 (CDT) From: Christoph Lameter Subject: Re: [RFC/PATCH RESEND -next 13/21] mm: slub: add allocation size field to struct kmem_cache In-Reply-To: <1404905415-9046-14-git-send-email-a.ryabinin@samsung.com> Message-ID: References: <1404905415-9046-1-git-send-email-a.ryabinin@samsung.com> <1404905415-9046-14-git-send-email-a.ryabinin@samsung.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Andrey Ryabinin Cc: linux-kernel@vger.kernel.org, Dmitry Vyukov , Konstantin Serebryany , Alexey Preobrazhensky , Andrey Konovalov , Yuri Gribov , Konstantin Khlebnikov , Sasha Levin , Michal Marek , Russell King , Thomas Gleixner , Ingo Molnar , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , linux-kbuild@vger.kernel.org, linux-arm-kernel@lists.infradead.org, x86@kernel.org, linux-mm@kvack.org On Wed, 9 Jul 2014, Andrey Ryabinin wrote: > When caller creates new kmem_cache, requested size of kmem_cache > will be stored in alloc_size. Later alloc_size will be used by > kerenel address sanitizer to mark alloc_size of slab object as > accessible and the rest of its size as redzone. I think this patch is not needed since object_size == alloc_size right? -- 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