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 B316EC433F5 for ; Sun, 13 Feb 2022 17:26:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F15126B0072; Sun, 13 Feb 2022 12:26:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E9D056B0073; Sun, 13 Feb 2022 12:26:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D66C06B0078; Sun, 13 Feb 2022 12:26:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0065.hostedemail.com [216.40.44.65]) by kanga.kvack.org (Postfix) with ESMTP id C3EC66B0072 for ; Sun, 13 Feb 2022 12:26:57 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 83301181AC9C6 for ; Sun, 13 Feb 2022 17:26:57 +0000 (UTC) X-FDA: 79138436874.19.D63A187 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by imf21.hostedemail.com (Postfix) with ESMTP id A2DAB1C000C for ; Sun, 13 Feb 2022 17:26:56 +0000 (UTC) Received: from [192.168.0.2] (ip5f5aee62.dynamic.kabel-deutschland.de [95.90.238.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 7352161E64846; Sun, 13 Feb 2022 18:26:54 +0100 (CET) Message-ID: <18464474-77e9-1a53-265f-b9718d43e8cd@molgen.mpg.de> Date: Sun, 13 Feb 2022 18:26:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: BUG: sleeping function called from invalid context at include/linux/sched/mm.h:256 Content-Language: en-US To: "Paul E. McKenney" Cc: Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, Peter Zijlstra , Josh Poimboeuf , Jason Baron , rcu@vger.kernel.org, LKML , Zhouyi Zhou References: <244218af-df6a-236e-0a52-268247dd8271@molgen.mpg.de> <20220212234802.GR4285@paulmck-ThinkPad-P17-Gen-1> <3fa9ec7e-0bc1-b972-c21b-473a9ef2e15f@molgen.mpg.de> <20220213144542.GT4285@paulmck-ThinkPad-P17-Gen-1> From: Paul Menzel In-Reply-To: <20220213144542.GT4285@paulmck-ThinkPad-P17-Gen-1> Content-Type: text/plain; charset=UTF-8; format=flowed Authentication-Results: imf21.hostedemail.com; dkim=none; spf=pass (imf21.hostedemail.com: domain of pmenzel@molgen.mpg.de designates 141.14.17.11 as permitted sender) smtp.mailfrom=pmenzel@molgen.mpg.de; dmarc=none X-Rspamd-Server: rspam07 X-Rspam-User: X-Rspamd-Queue-Id: A2DAB1C000C X-Stat-Signature: cmmsziz6kr96yeueqfxgh6djwfgob4ep X-HE-Tag: 1644773216-429663 Content-Transfer-Encoding: quoted-printable 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: Dear Paul, Am 13.02.22 um 15:45 schrieb Paul E. McKenney: > On Sun, Feb 13, 2022 at 08:39:13AM +0100, Paul Menzel wrote: >> Am 13.02.22 um 00:48 schrieb Paul E. McKenney: >>> On Sun, Feb 13, 2022 at 12:05:50AM +0100, Paul Menzel wrote: >> >> [=E2=80=A6] >> >>>> Running rcutorture on the POWER8 system IBM S822LC with Ubuntu 20.10= , it >>>> found the bug below. I more or less used rcu/dev (0ba8896d2fd7 >>>> (lib/irq_poll: Declare IRQ_POLL softirq vector as ksoftirqd-parking = safe)) >>>> [1]. The bug manifested for the four configurations below. >>>> >>>> 1. results-rcutorture-kasan/SRCU-T >>>> 2. results-rcutorture-kasan/TINY02 >>>> 3. results-rcutorture/SRCU-T >>>> 4. results-rcutorture/TINY02 >>> >>> Adding Frederic on CC... >>> >>> I am dropping these three for the moment: >>> >>> 0ba8896d2fd75 lib/irq_poll: Declare IRQ_POLL softirq vector as ksofti= rqd-parking safe >>> efa8027149a1f tick/rcu: Stop allowing RCU_SOFTIRQ in idle >>> d338d22b9d338 tick/rcu: Remove obsolete rcu_needs_cpu() parameters >>> >>> Though it might be that these are victims of circumstance, in other >>> words, that the original bug that Paul Menzel reported was caused by >>> something else. >> >> Even without these three patches, the issue is reproducible. I tested = commit >> 7a935b7ac61b (tools/nolibc/stdlib: implement abort()). >=20 > Ah, I thought you were saying that the issue was caused by them. >=20 > I will put them back. And apologies to Frederic for kicking his > patches out! Sorry for being unclear. > Are you able to bisect to see what commit introduced the problem? I have not checked yet, if it=E2=80=99s a regression. I am going to test = it next=20 week. [=E2=80=A6] Kind regards,