Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3100054imu; Mon, 17 Dec 2018 13:19:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/VNWoBRUR+TXdrRcH8UNYuoOJ1bcEQdtF6A9QrBV9C+YlWcwGTs56IavrGZi8x9SNSVY5uN X-Received: by 2002:a17:902:f082:: with SMTP id go2mr14055590plb.115.1545081563038; Mon, 17 Dec 2018 13:19:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545081563; cv=none; d=google.com; s=arc-20160816; b=NAGeyFD+9QZeerl7DyTp8bxO6htc/CDMzX5iyKwcKycZtHf8Nns0WjGl7+ebXsutx4 VzW+H4rWMCNWJo0b6IhXq2JH8VlYbHZiYqKLmbW+5a4POHxTaVnaQX2offvAKlRrD5Sr n5rk92sIVrplZZpSeXVBnGaKfYEDVc03pOWbnb6IxC3JiHpIHZU7LS+8j/fD9ymyPKOZ 36vhZDYNzrY8B9yCZqE29ZiL6Yqw5RPLmp3lyqWMlC+MO3rf3kz9Mnv3p2ua2vgF6cdA CVCsZ+vVY7tZ/TwO+R6Iz0Drl8nylGcgCcP08Vyaoz4D80YWUJq9ClZxfTFvws7z9kVQ 5bKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=VMxFh4lqcZPGzVI3DjUzSmj7wWC8K7Rrod0NiJ7C4hc=; b=QwYQVlyxf7jwIVDaFKYUqGIFYL3gfMKxcrS6KAKKg/MhdiLBK3nzzxRVShUkC2Hh+1 2enk5RQJZVRMPLYFKfh875ZtNv3j2HrdU80UHGVppwe3yZ3wCURA0svSuo2yIn158YPe cBWjJXM7TxmJm6h/RPzO9ZEE9n5s1aK4om1bgHxVbH/PAZw+D2PZVNSeSJ+i1hrATeeL dLvqwlG6vWOELjCNHzazydT8U1ClPRmOWWabED6GuB/uBBRYpnHnWIxA60Uk8nl0E1eR G5dsqfH9BLfVPCQtrRBN+OYSyqCaw3tXKy6mGBTJlKL6gMKLy99YHd2Mm0MZSHusodUP tG+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si11575671pgh.299.2018.12.17.13.19.08; Mon, 17 Dec 2018 13:19:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388307AbeLQUjM (ORCPT + 99 others); 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.