Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp17601imm; Thu, 20 Sep 2018 17:16:16 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb0WYb7D4GklOxg1rJ2rBpdbLznYZM64WxLrEOHTY+M/5Ep75b8McHa3scQKc9qqLpBmrg8 X-Received: by 2002:a62:f909:: with SMTP id o9-v6mr43374675pfh.141.1537488976721; Thu, 20 Sep 2018 17:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537488976; cv=none; d=google.com; s=arc-20160816; b=IYCpN+cJ8dilF5YmFFjo1V6htJUx3k4ZlNu1qMzaTI8oli3Yc4FX4gucqU0iLSDZcL LMRoNvKUQ/1xa0Sz3EadgiMaOslp7eW6fpdYKmWgno6919s79gXZ/rr4V4MbThPyPd18 9fAR8XAVyTZNLTaPXgAcKVbUZ2FWYmm7yP5AH6//ABLjRlJ2aYDyhnnYBe5ZlvH38DHZ a2mAD9kpYr3O2/WSFQr3uLkoicBpDQwGm1tvJBqTCDytWq0qMMIL8ZFW3qdZtSF6r3pd w5bOTxeEmw7Bv/ypbd7+HsNiy3FBHff6mWXjw9N0R6h//aOOYW8qz/fAzNwfqoFXjycx in+w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=9r4yTMXUwcbumtvOSuBWqCJ4jgKDkbpnAYFDtj+hYME=; b=x8eCOojIFQ6xUPEYHfDINAPqDZx53gARzEkFOFPjo87tvapbbJEsFm1MoXPGKIyUmv vNvOwZfMuac0EC1Sbc28+U6swLHE6s0q6XFk+DIpR4TwYImgSOmGCWwZPiUNFa7zUBEu DYDs/V4B7bkH7HsVQwfahwJoiwIgcV9M65iR50+nKXotaFONEP7oB72W2GO7uWYxeXSE Km1k6m/5d22Ljpw792wtGDeraDOuFTqq0bqaJbWCs1zcPJx6vh0Thzs8fe5yjOkY8S/J keYl36I/qTdkNXhhHPHMZJDCYIDfWNaA3tywx1phFmd8+MqkHjW3o3Kz8tdBY0JJmfd5 M2JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b="EVK1j/R3"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m23-v6si6396740pgn.603.2018.09.20.17.16.00; Thu, 20 Sep 2018 17:16:16 -0700 (PDT) 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=@zx2c4.com header.s=mail header.b="EVK1j/R3"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388721AbeIUGBh (ORCPT + 99 others); Fri, 21 Sep 2018 02:01:37 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:33427 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725823AbeIUGBh (ORCPT ); Fri, 21 Sep 2018 02:01:37 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 499de603; Thu, 20 Sep 2018 23:57:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=mail; bh=cZBWkEKOtTRZyHxO/CPoLybUAi8=; b=EVK1j/R3aIU+22r9g11C tGPNgZ6OmFn7OwX5dkijmwJmtroeWC18EbpmMm5yvYSLlrRg4BXyMCCzwBCMzuQ6 RsaB1GHQbMipdu6qEiTA/wu21vDoNM/1Wt5cBN+XU7EqA+kaTfxZU1Ku+vtio0OQ cLimQtoaSzQVWZUDVEVi8YJyg+iDl2sVmxg3HJLgMCMgIlqA90X1lnsRl8pVNI64 HRXKdhuV00+2oRQnc2UBaGKvI+w+E5MScHEiiq3XPm/cG426ZUk3QOqOnUFehU7n FyK8lA8lBcTzryKG7vAcQlOEZS5XE88UkBftH3kl+BZ6m26yWFMxmBGsvrMEo/n+ Mg== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id a9aa2bd6 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 20 Sep 2018 23:57:38 +0000 (UTC) From: "Jason A. Donenfeld" To: Arnd Bergmann , Ard Biesheuvel , LKML , Andrew Lutomirski Cc: "Jason A. Donenfeld" Subject: [PATCH] framewarn: expand KASAN_EXTRA exception to KASAN Date: Fri, 21 Sep 2018 02:15:13 +0200 Message-Id: <20180921001513.12504-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It turns out that KASAN in general will bloat stack frames in unexpected ways, not just KASAN_EXTRA. So, this patch trivially changes that default to be associated with KASAN instead of KASAN_EXTRA. Signed-off-by: Jason A. Donenfeld --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 4966c4fbe7f7..39078a080e29 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -222,7 +222,7 @@ config ENABLE_MUST_CHECK config FRAME_WARN int "Warn for stack frames larger than (needs gcc 4.4)" range 0 8192 - default 3072 if KASAN_EXTRA + default 3072 if KASAN default 2048 if GCC_PLUGIN_LATENT_ENTROPY default 1280 if (!64BIT && PARISC) default 1024 if (!64BIT && !PARISC) -- 2.19.0