Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1415624imu; Tue, 11 Dec 2018 19:55:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/XMY/hmXFQYPiVMrFEuqDoQ6HyQhVcSNmddPcXr8sfQ38UqGytuv/+ubQz2Rzod3h7cBCkt X-Received: by 2002:a63:f30d:: with SMTP id l13mr17130548pgh.399.1544586944563; Tue, 11 Dec 2018 19:55:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544586944; cv=none; d=google.com; s=arc-20160816; b=ctE5/FhT5H8ymsu1nt06Gq46DC0n8f12YDWZcdUrDm8s0U4NstlHlLYv8wYkwMil4W LkJVLKzFhC7+UHn/yMPK4nDMb/nY9Pff4CKzxGsffjFVqobdJP2AbBiaQCwdL9ry7Diw XCH8+0ouZ5qdwUHHbWN8dNz13iQkPAKZ+NotzgUtKv9t0IuEtBJb643t20T4YHSwFY4c jYk19XLGuWWH13YtlPZeJFbyE+MhSmV28QsMpDbJybbDFoyJQU/PoiPSZbgbp5SQ0F8a m4J3mB0nMTtIRi4ZzOacEq1M2I9mNw0mgP4ARmn2sY9XAuSi6iSdtFJ7UJcheJQINN5C /DKA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=om3HVc6pjUbCI7961bkoT5XS78zOdIdclaAUd3I6+vU=; b=UQQ7QOK8JIR2MdwhLl2nLcvPn+ttOmdsLJqw96kLFY8YQ6oKTWjLTtL1WJ9dy0Riog mqpfmQiMuyWCpuorx9qyZavnqr/SjJ5q7nKt8v6M7IoZmYE0ZjdgJDY6becJ6tsZbsqd 3JceZyF7e/Dyfmpo2RuhwETtHo2joJMyhp1CN99jCUDXM0ku/Y3mTZNGmnii6L2nbUoB AVb3KPDQpF56d/fUNkrcJgoovc/JJwVFrhU/TZSmSm6v7UtV+qnhdPfqzlQ07kx9DOPf ywzulfA9tpeBeM9UD+AUdycHFWANfL7q4VgfEvYuzE09xw7ulgGLIZ3rqhMbtPxR+sl5 Xa+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=q4yKF9vq; 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 h3si14121085pgi.391.2018.12.11.19.55.29; Tue, 11 Dec 2018 19:55:44 -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; dkim=pass header.i=@lca.pw header.s=google header.b=q4yKF9vq; 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 S1726321AbeLLDyl (ORCPT + 99 others); Tue, 11 Dec 2018 22:54:41 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:37862 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbeLLDyl (ORCPT ); Tue, 11 Dec 2018 22:54:41 -0500 Received: by mail-qk1-f195.google.com with SMTP id 131so9978270qkd.4 for ; Tue, 11 Dec 2018 19:54:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=om3HVc6pjUbCI7961bkoT5XS78zOdIdclaAUd3I6+vU=; b=q4yKF9vqDdGLcNOB7/JfXVNMWNLwPVQOD6406S+mDgQ/6whX3j5sjNkkkpeez4EYMs AbIw7IegfWXqomtyg1OPdRsVpXx36NVhA3u+8DfNhCNzZBKCSt/KMh5Ig0cJwl8UgiT6 Gskiu1ZkNHjFJXc0zpVCtXxXUolF4sF5MsQtgdkQpUIjOS3Pd+7XfOcPGNPG+JUEL9Ja n6qiWG6EsgdohJ1Iq4zvHqxp5rSkp7C13mS3TOS6cvFQt2Fa/e7zmIbMXL9qAQLR3OuG 6nLoMDkxfMvpPis5rc1XT8gpcWpq+jeiPQTCS6EoZy3x2T9rnS20Dyl0FL8tGiBsPAxd Y7+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=om3HVc6pjUbCI7961bkoT5XS78zOdIdclaAUd3I6+vU=; b=V4J7cGud6Y18k12uUbLxwzGC4gO4ru32G5adkurM2dk5REittYTy9QcoagqWnDtH0o AGJUodwKshPk+ABhETwiq84Zf9qqzFItep0LsorMTut0mjVNDDdstE5ZGAAFcqQEULt4 Pt1XP5EwzE7KTT6TMnX83d833YwPgSVEt0hqwconqBdngOT+Ub4d36/AzO4qEgzJX2o3 VQr6vTrixAZskLUG9tlG0CklPCPgRxAfsoxRPHhVYjkbxGatRT63aECzOKdRKy0+uyQi /gBo5aMwzpsmMU6rOVlKpqT7rCVLFmVbY29GNDfIt58DBdZa/fLL0RjECu+PgFMh7h+3 CmNA== X-Gm-Message-State: AA+aEWZpDFdgBGAURzfY2ZZk0GO3s9jBjq9IrpNTCTr7BRJlFzdSFyIi E3cOL6+er28DDncT33YMcm+YulfjRWk= X-Received: by 2002:a37:6155:: with SMTP id v82mr16360390qkb.72.1544586879679; Tue, 11 Dec 2018 19:54:39 -0800 (PST) Received: from ovpn-121-90.rdu2.redhat.com (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id 195sm8762104qki.76.2018.12.11.19.54.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 19:54:39 -0800 (PST) Subject: Re: [PATCH] arm64: increase stack size for KASAN_EXTRA To: Arnd Bergmann Cc: Catalin Marinas , Will Deacon , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , kasan-dev , Linux-MM , Linux ARM , Linux Kernel Mailing List References: <721E7B42-2D55-4866-9C1A-3E8D64F33F9C@gmx.us> <20181207223449.38808-1-cai@lca.pw> <1544548707.18411.3.camel@lca.pw> <1544565158.18411.5.camel@lca.pw> <1544565572.18411.7.camel@lca.pw> <1544566937.18411.9.camel@lca.pw> From: Qian Cai Message-ID: <9248f272-4b8f-183d-73eb-28fed1debcd2@lca.pw> Date: Tue, 11 Dec 2018 22:54:37 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/11/18 6:06 PM, Arnd Bergmann wrote: >> I am thinking about something it is probably best just waiting for those major >> distors to complete upgrading to GCC9 or back-porting those stack reduction >> patches first. Then, it is good time to tie up loose ends for those default >> stack sizes in all combinations. > > I was basically trying to make sure we don't forget it when it gets to that. I added a reminder in my calendar to check the GCC9 adoption in Q2 FY19. > > Another alternative would be to just disable KASAN_EXTRA now > for gcc versions before 9, which essentially means for everyone, > but then we get it back once a working version gets released. As > I understand, this kasan option is actually fairly useless given its > cost, so very few people would miss it. > > On a related note, I think we have to turn off asan-stack entirely > on all released clang versions. asan-stack in general is much more > useful than the use-after-scope check, but we clang produces some > very large stack frames with it and we probably can't even work > around it with KASAN_THREAD_SHIFT=2 but would need even > more than that otherwise. > > Arnd >