From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by kanga.kvack.org (Postfix) with ESMTP id D18FB8E0033 for ; Mon, 17 Dec 2018 15:39:14 -0500 (EST) Received: by mail-pl1-f197.google.com with SMTP id c14so10002063pls.21 for ; Mon, 17 Dec 2018 12:39:14 -0800 (PST) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by mx.google.com with ESMTPS id h9si11872721pgb.319.2018.12.17.12.39.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Dec 2018 12:39:13 -0800 (PST) Date: Mon, 17 Dec 2018 12:38:47 -0800 From: Andrew Morton Subject: Re: [PATCH v13 19/25] kasan: add hooks implementation for tag-based mode Message-Id: <20181217123847.492b9ae4934bd0d95b0bbbdc@linux-foundation.org> In-Reply-To: References: <2bf7415e-2724-b3c3-9571-20c8b6d43b92@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrey Konovalov Cc: Vincenzo Frascino , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Catalin Marinas , Will Deacon , Christoph Lameter , Mark Rutland , Nick Desaulniers , Marc Zyngier , Dave Martin , Ard Biesheuvel , "Eric W . Biederman" , Ingo Molnar , Paul Lawrence , Geert Uytterhoeven , Arnd Bergmann , "Kirill A. Shutemov" , Greg Kroah-Hartman , Kate Stewart , Mike Rapoport , kasan-dev , "open list:DOCUMENTATION" , LKML , Linux ARM , linux-sparse@vger.kernel.org, Linux Memory Management List , Linux Kbuild mailing list , Vishwath Mohan , Chintan Pandya , Jacob Bramley , Jann Horn , Ruben Ayrapetyan , Lee Smith , Kostya Serebryany , Mark Brand , Ramana Radhakrishnan , Evgenii Stepanov On Mon, 17 Dec 2018 20:33:42 +0100 Andrey Konovalov wrote: > > Curiosity, did you try your patches with SLUB red zoning enabled? > > Since the area used for the Redzone is just after the payload, aligning the > > object_size independently from the allocator could have side effects, at least > > if I understand well how the mechanism works. > > > > Setting ARCH_SLAB_MINALIGN should avoid this as well. > > > > What do you think? > > Sounds good to me. > > Andrew, how should proceed with this? Send another fixup patch or > resend the whole series? It depends on how extensive the changes are. I prefer a fixup, but at some point it's time to drop it all and start again.