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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 129B3C46467 for ; Tue, 10 Jan 2023 19:33:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1F3EC8E0002; Tue, 10 Jan 2023 14:33:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A42E8E0001; Tue, 10 Jan 2023 14:33:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 093B78E0002; Tue, 10 Jan 2023 14:33:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id EC22B8E0001 for ; Tue, 10 Jan 2023 14:33:47 -0500 (EST) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id BDC5582D48 for ; Tue, 10 Jan 2023 19:33:47 +0000 (UTC) X-FDA: 80339889294.30.A0834FB Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by imf15.hostedemail.com (Postfix) with ESMTP id 3BBF4A004B for ; Tue, 10 Jan 2023 19:33:45 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=fail ("headers rsa verify failed") header.d=mit.edu header.s=outgoing header.b=Fv5SZWlB; spf=pass (imf15.hostedemail.com: domain of tytso@mit.edu designates 18.9.28.11 as permitted sender) smtp.mailfrom=tytso@mit.edu; dmarc=pass (policy=none) header.from=mit.edu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1673379225; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=yFMDQJkhnPi33MXjl8llO36UCmAmUNpTyoziClurNHw=; b=tmwWbH3zw6ft8oQUQPPng0EYyxVqZLROo9N0VjtO407QG8W0KchyEVkMJhf1qJrqxUdWci 5lgQGYtT6EQbHsDj0tKSLEf1f38cMksjk1W5qxX2iNJNPlzxRS612O17E8Lc9hOOaW8z0n 6Ifab0FiWPf5GU4MluImq6/RucUFg28= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=fail ("headers rsa verify failed") header.d=mit.edu header.s=outgoing header.b=Fv5SZWlB; spf=pass (imf15.hostedemail.com: domain of tytso@mit.edu designates 18.9.28.11 as permitted sender) smtp.mailfrom=tytso@mit.edu; dmarc=pass (policy=none) header.from=mit.edu ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1673379225; a=rsa-sha256; cv=none; b=LPGHfPpNKSEkKuwspGsrnOzU0nLp/Az2SOKix2ueYIZq6ghsCjpozq5mMF8rRMMOcu1voT rkyG259jziT/sl7jPk4XYb80FU55zh7GUeRSfSbq4xsLWeHJ+JouSSkOmAApS2zE+u3Uc7 9jJHmn5rFSUc9mt/0fOwAPZgBzAt3Mo= Received: from letrec.thunk.org (host-67-21-23-146.mtnsat.com [67.21.23.146] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 30AJX3eG002500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 14:33:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1673379199; bh=yFMDQJkhnPi33MXjl8llO36UCmAmUNpTyoziClurNHw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Fv5SZWlBYg76s9vrcu269HLApFLYoJ9L3+EqYq+8FvpSsvYAlp2J5nMo3HkgsG0qD fwCi/XIb0ECN/oYiyEJ75+2I0e+YDpsRyHm1H8PmuoPOcbm3bBzo+a6LgZBQzRYeiT Wgm597Sxgb3pzBubbfTJEtRo627MRoW0D9fnAFDFQyCi9XlmUh151jPpw6v7ela4Pp uSBJXmxz2X9i0fUs53JDXZl0R3ETXD0NNG3h/yixoQoXfm943m4du8d9hGjqM6dGNI N9dtpj+BzpiBCGXga0hgqmWtGTTEwRL5Feh6U62clKHNFGGB6c5c0eMk1q8YXt4Zcl CxIOBPptyjy2A== Received: by letrec.thunk.org (Postfix, from userid 15806) id 383A18C06D5; Tue, 10 Jan 2023 14:33:00 -0500 (EST) Date: Tue, 10 Jan 2023 14:33:00 -0500 From: "Theodore Ts'o" To: Robert Dinse Cc: Andrew Morton , bugzilla-daemon@kernel.org, Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , kasan-dev@googlegroups.com, linux-mm@kvack.org Subject: Re: [Bug 216905] New: Kernel won't compile with KASAN Message-ID: References: <20230109160929.1ecacff5fb8ca2b1ae25141f@linux-foundation.org> <9acae081-9d4d-3dd5-8b2c-52c72592e81c@eskimo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9acae081-9d4d-3dd5-8b2c-52c72592e81c@eskimo.com> X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 3BBF4A004B X-Stat-Signature: ptq431fo4tkqgupg3sctmyb7att5mj7h X-Rspam-User: X-HE-Tag: 1673379225-73432 X-HE-Meta: U2FsdGVkX1/1uQaQy6vqwddpX6xg+1hvMi7ruzxu14bdv1B+XrUmkBLBJXeRjwHnjVRfWBhu331hK96FxwGB0erxWycRUPD0Amvg35PXgGdYV0Ohj0SIhaWQa4LMBUd81Vl2fWVHxUpSmLbpKZE5qpNqL9Kbe1Gz42NIxhQjRT3TOcGo1BPch9Q8i9yeSgujHvQw74MlikB7ZbxXoPlusZIguu2bONoHi57kOaMMG+K0KsSK4naBkIGOt4AkCL26Eov+Q1oAyU+hvpkS5yRR/Xg8bge/XHMsDTZAQ9lOOFnOcNcQk1Ax4/00qS/qlDSDO9bjB3vgkp+R/uK5x4hmBttGgojQS9X3e6gN/BcvoFYXIPNh4N3m9gQP6OKLHgEwKu+F/TLuuvN4T182gEbeHBG6VrTbJ0YHxlB0hHEQqRVAYjfkgUiCnv9NgwpdRLPknmVWuVatFgD/A0DJqlQA8rYgZiY0vfBzjKsWLtNCiSsbLKGVblyjFS5yOXa8v/noy6qd7kww9weSd3IgB3rD+mdpzB8Q3z76MPzcxuDtlIfUR0B1zo7P1nTXhQlwGFdC8c9vHvWwENYM39H36Wa85qiDKUNiSAi98VO2sJPBccVatMubTRL8MsZR68D5Q7puTXOJ/Whcur6tP4nwCHKeG59NnuX6qe79kS+JkMtGE4lTaH/F+NqehaqlA7IFLep/nDuAETIhoSGJdyqE+0pqyaWOpu/HfOiy2MilVOGdOp3lGty7aBnXji26W0oKdec5XYyinbQh7cTxfy7R8JKXBbXBOCKgA67BqD8gUa/StOnzfRLL8F2UWSPqNxoa4F8u45YwuYNxBUn1DnytrA/rpodzp9u5RSGbZEBuTBPzuRQzypTWl46OR2CkPu3h2IVcqtCudoxZwx05fkH1HuFJJ6XbRmq+UO+f1tiU/+h0SH1gRqGNLfb4k4B5Z61eRhVUAbekFrsDrm6zpvjKiea F0AoKr1g UPByFdAsn88chXiW2yvp3RBtA3Of8tkcX7qcvQOWQQFTvsqJnIlHO2+6Z3PE6Wfu9LmuzTZXy91p2MH9Al9m4h0FYFg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000007, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Jan 09, 2023 at 08:58:41PM -0800, Robert Dinse wrote: > > Increasing to 2048 did allow kernels to compile with KASAN enabled. I > am curious why e-mail only? It would seem bugzilla, a public forum would > make this fix available to others who may be experiencing the same or > related problems. Not all kernel developers pay attention to bugzilla. (In fact, most kernel developers do not.) >  Interestingly, I could not locate the symbol with > xconfig, had to hand edit the .config file in deference to the fact that it > tells you not to. If you search for FRAME_WARN in menuconfig ('/', followed by "FRAME_WARN", followed by return), it will report: Symbol: FRAME_WARN [=2048] Type : integer Range : [0 8192] Defined at lib/Kconfig.debug:395 Prompt: Warn for stack frames larger than Locationf -> Kernel hacking -> Compile-time checks and compiler options (1) -> Warn for stack frames larger than (FRAME_WARN [=2048]) That being said, you can edit the .config file if you know what you are doing. But if it breaks, you get to keep both pieces, since there aren't the safety checks and guardrails of the supported paths. For novices, I recommend saving a copy of .config before editing the .config, and then afterwards, run "make oldconfig", and then diff the resulting .config with the saved copy to make sure there aren't any unexpected changes. Cheers, - Ted