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 X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 104C0C4338F for ; Fri, 23 Jul 2021 07:02:12 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 75E7C60F45 for ; Fri, 23 Jul 2021 07:02:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 75E7C60F45 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id A31716B005D; Fri, 23 Jul 2021 03:02:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9BA4B6B006C; Fri, 23 Jul 2021 03:02:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 85A7D6B0070; Fri, 23 Jul 2021 03:02:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0025.hostedemail.com [216.40.44.25]) by kanga.kvack.org (Postfix) with ESMTP id 68A5E6B005D for ; Fri, 23 Jul 2021 03:02:10 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 010A1181AEF3E for ; Fri, 23 Jul 2021 07:02:10 +0000 (UTC) X-FDA: 78392958420.23.DA12510 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf25.hostedemail.com (Postfix) with ESMTP id 9A359B002564 for ; Fri, 23 Jul 2021 07:02:09 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id F252A60EE2; Fri, 23 Jul 2021 07:02:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627023728; bh=02LUfP9gRBAKznttDT6gEA8Wm5l4jpvhTQOhmSmp6TY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oYElD2rhN77kwhk3cHbdJs1c1K4EEL9wI8fe4Uw3mOaPEtxJSMnhDjUPbEEf1SAzA YEHykz6fGqLgjZZ4asnYJ3GIswCFOu2g/Z98w+hF9lyqReoghUDstiJGuK44r8OyR6 EhDzQXwJgbKvoHxsJjXUSHkuXAx5ulAcvQyMelNA= Date: Fri, 23 Jul 2021 09:02:05 +0200 From: Greg KH To: Miaohe Lin Cc: Matthew Wilcox , Zhouyi Zhou , Chris Clayton , Oleksandr Natalenko , Boqun Feng , paulmck@kernel.org, linux-kernel , stable@vger.kernel.org, Chris Rankin , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , rcu , Andrew Morton , Linux-MM , "Huang, Ying" Subject: Re: linux-5.13.2: warning from kernel/rcu/tree_plugin.h:359 Message-ID: References: <2237123.PRLUojbHBq@natalenko.name> <01fef2db-bd7e-12b6-ec21-2addd02e7062@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01fef2db-bd7e-12b6-ec21-2addd02e7062@huawei.com> X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 9A359B002564 Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b=oYElD2rh; dmarc=pass (policy=none) header.from=linuxfoundation.org; spf=pass (imf25.hostedemail.com: domain of gregkh@linuxfoundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org X-Stat-Signature: rwtucs8rwx3c8ijtswc86q5kzg5yn5en X-HE-Tag: 1627023729-560639 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: On Fri, Jul 23, 2021 at 09:51:09AM +0800, Miaohe Lin wrote: > On 2021/7/22 22:00, Greg KH wrote: > > On Thu, Jul 22, 2021 at 03:26:52PM +0200, Greg KH wrote: > >> On Thu, Jul 22, 2021 at 01:36:02PM +0100, Matthew Wilcox wrote: > >>> On Thu, Jul 22, 2021 at 04:57:57PM +0800, Zhouyi Zhou wrote: > >>>> Thanks for reviewing, > >>>> > >>>> What I have deduced from the dmesg is: > >>>> In function do_swap_page, > >>>> after invoking > >>>> 3385 si = get_swap_device(entry); /* rcu_read_lock */ > >>>> and before > >>>> 3561 out: > >>>> 3562 if (si) > >>>> 3563 put_swap_device(si); > >>>> The thread got scheduled out in > >>>> 3454 locked = lock_page_or_retry(page, vma->vm_mm, vmf->flags); > >>>> > >>>> I am only familiar with Linux RCU subsystem, hope mm people can solve our > >>>> confusions. > >>> > >>> I don't understamd why you're still talking. The problem is understood. > >>> You need to revert the unnecessary backport of 2799e77529c2 and > >>> 2efa33fc7f6e > >> > >> Sorry for the delay, will go do so in a minute... > > > > Both now reverted from 5.10.y and 5.13.y. > > > > I browsed my previous backport notifying email and found that these two patches are also > backported into 5.12. And it seems it's missed. 5.12 is now end-of-life, it's not being touched anymore, and no one should continue to use it. thanks, greg k-h