From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D773C43387 for ; Mon, 17 Dec 2018 20:39:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 555DA2133F for ; Mon, 17 Dec 2018 20:39:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388382AbeLQUjM (ORCPT ); Mon, 17 Dec 2018 15:39:12 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:49896 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727641AbeLQUjM (ORCPT ); Mon, 17 Dec 2018 15:39:12 -0500 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 337BDD62; Mon, 17 Dec 2018 20:38:48 +0000 (UTC) Date: Mon, 17 Dec 2018 12:38:47 -0800 From: Andrew Morton 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 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> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.