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 50F62EE7FF4 for ; Mon, 11 Sep 2023 12:27:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BA9A06B028B; Mon, 11 Sep 2023 08:27:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B59486B028C; Mon, 11 Sep 2023 08:27:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A48866B028D; Mon, 11 Sep 2023 08:27:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 9540D6B028B for ; Mon, 11 Sep 2023 08:27:14 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 6B659808E1 for ; Mon, 11 Sep 2023 12:27:14 +0000 (UTC) X-FDA: 81224241588.29.FD88C45 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by imf30.hostedemail.com (Postfix) with ESMTP id 8539380012 for ; Mon, 11 Sep 2023 12:27:12 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf30.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1694435232; a=rsa-sha256; cv=none; b=xzu5RpZq66LA7ePBw0iw94++9jX6BuNBo6ak2I+N7ypUFPj/9VOxSpjjbnGxzI7KuopQNC sv7Z2ko20phMBdJgOAZ62bqCtmIi/J0Ukt/KApv+SgUltfPJBeUr8ZCc9UG55sM46NLml0 g1O9dVu87luDQs08B6NfIanROkSZ+HU= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf30.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1694435232; h=from:from:sender:reply-to: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; bh=z42unxij52GQccppLg8G9bzzsHusFTCIatNxj+1R+GI=; b=3bMyFISu2XEjT0lsb9l+q/BRjj4fn7ON8hp4ET9YZ/sgi2hvNU/kI/XiSNk2jrUqY1jxET AkT2MJEGOk2DPFY4+wL9hl4yfQBPndmurmzsWEFyqqdwwfT1cQB+b1IxDxMxLWSfylBJKN FXiGLwY5DEGw/Z543/qra55BbVfHaBQ= Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qfg0T-0000WD-Fw; Mon, 11 Sep 2023 14:27:09 +0200 Message-ID: <7e9735bf-c42b-4f03-8645-8cdbf87a75f3@leemhuis.info> Date: Mon, 11 Sep 2023 14:27:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] maple_tree: Disable mas_wr_append() when other readers are possible Content-Language: en-US, de-DE To: Geert Uytterhoeven , "Liam R. Howlett" Cc: Andrew Morton , maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-renesas-soc@vger.kernel.org References: <20230819004356.1454718-1-Liam.Howlett@oracle.com> <20230819004356.1454718-2-Liam.Howlett@oracle.com> <3f86d58e-7f36-c6b4-c43a-2a7bcffd3bd@linux-m68k.org> From: "Linux regression tracking #adding (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <3f86d58e-7f36-c6b4-c43a-2a7bcffd3bd@linux-m68k.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1694435232;de663a19; X-HE-SMSGID: 1qfg0T-0000WD-Fw X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 8539380012 X-Stat-Signature: pb3pc56777ezky9zosj6zu6i55icpu4a X-Rspam-User: X-HE-Tag: 1694435232-246407 X-HE-Meta: U2FsdGVkX18oZQl1P909MxA22gmZXIn6zqU4H4WhIRxI30DgnrH7+DHgWd922JF5ZlkV2kEnop+fJ1+xMLTGw90IAoApOZdyTP0aMavr3vS5yXYg8XnKj7hQDdq4782maC5rdXxZCc/UmNIyRFphQjORl2hzegAW/3g24KmPnPDULtbFlsANDNEx6yOQjzU+fkn0sRwRe7/NDaX+DZwHhEv9Cbuc2wtTrNsuB7DcDJTkcYWJZNtfxlqV5veoiJleS3gcL9bv6Eztqx5nHhewQAM6XCeww0sq9T0EK693jLS+hed0BgsfE7R6JdGCQOCdQCPCzDJAD3N1niWBv6uhVMJo8vdSCwKJuBWpYZUuRdfS89W+TwxBJrSxrD37yd3OoikfaBFExNyA2nkPj3Po9lTBLLM51sixRB1ofa/EkcqNVEckt1IAj5QE6AidHbOMY1tLSdvbw3IWewrZ4U/5ydLF2nngjuL3oTSY2cuSE2g0aztGd6eCg6sbfHn7mMHSZVScPycRRxw70eFu01eZmQACFdm0YAggA/sQuvNfXu/TU1JmJCUJnYyUHLP8nsgizgl2tpZl6tpA48thwVKUOrz9lbJJAXnHOmiFdzn3nerJw6uvXb49I06HKLBBVi9cxLJpt3iDbJJZDocZ7CtUwURx55vr5M8oMnlexS7iD5OnmeOFUpf750pY5BxJ1aLDd7cbiOPQXqaexAJ8dkEY7WrmgOR3/dcsAmv2pv2Jin+4CxI4pzboIbk0sDMZQu1/zZHA8S6uwGcblVhKUyHMKysYeQHoWcZVtE8be4rmN4oSoBXuE/LIxe9bc1d5UeMW/l0oAeCPtNmrn79hPBjRcCoAq5uHWzRWTG8KmLYIwfTkf2ow3WbiGBrmy2oFbkV5fNK4pF1HgewhJNQO3NNHHY60t3FJxvOSLtY+W6BJLuk7UNTWm94Gv+gqamoWOXYwNljNHlAgPDy//+lr0xz tk7ih+sq LZh7hn2USCCZcG+lSO+pir8aerHXB9wZSc1vu8qLU5sAClEUy7/0+p74ogY7AWodxR98DBKSWDTFHhunK4fde+fsDL1KYCojXCqqg0MGzayg34hfs4r58FAG6NNU+1o5FqPMmeP369TvIZlcWiXwT6OzDl2n+cL9M6pQ3o692p38ln5qrNzY75jlr2/6GGLEUXXoZsoS6G8ptNh33yGxUoBwrX235nwFNJL/wOir4p9zJuDRbQe9Y/X1uqkEY5Eho54EQjeVJg2DSggXKNW9mMo4zkefgbcYd+ugiMGAVex/U28KjHayKWMVwOwmVCBWJrn4vwXdN4+lcUeTMSwBCW8xgGbO0ArZvL6uKj7C16gCvlCH8HllLoYkESMVurLgwn5WRDRw7dUvJLPqegh3i+uG263u/FchLygv8nn7+t43UF4KxPDhgziUXRA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: [TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.] On 29.08.23 18:42, Geert Uytterhoeven wrote: > > On Fri, 18 Aug 2023, Liam R. Howlett wrote: >> The current implementation of append may cause duplicate data and/or >> incorrect ranges to be returned to a reader during an update.  Although >> this has not been reported or seen, disable the append write operation >> while the tree is in rcu mode out of an abundance of caution. >> >> During the analysis of the mas_next_slot() the following was >> artificially created by separating the writer and reader code: > [...] > Thanks for your patch, which is now commit cfeb6ae8bcb96ccf > ("maple_tree: disable mas_wr_append() when other readers are > possible") in v6.5, and is being backported to stable. > > On Renesas RZ/A1 and RZ/A2 (single-core Cortex-A9), this causes the > following warning: > > […] > Reverting this commit fixes the issue. Thanks for the report. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced cfeb6ae8bcb96ccf #regzbot title maple_tree: warning on Renesas RZ/A1 and RZ/A2 (single-core Cortex-A9 #regzbot ignore-activity This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail. Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.