Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp503163pxv; Thu, 22 Jul 2021 05:38:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjDKb+Kgq0kzohrrNucSxuZrkSMafb0nFU3yD37ZVAvStsgaXqRuNeqF0j7rIzjsoIjoU9 X-Received: by 2002:a02:4b04:: with SMTP id q4mr26160109jaa.89.1626957536687; Thu, 22 Jul 2021 05:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626957536; cv=none; d=google.com; s=arc-20160816; b=SBXyoZEzTcr5k4gxNNX9d8cGOcO1wpO+/0jKlICZnjrvhdd9R2K2X+da/tWIDTdbeW UJTi88IExTidQCzS71BDgJfhPeVMpG76T+qUf8MSJkl+HFjOmgnj+6ainOBanOPqD19B a/XwUSDk8G2rvqkP0ATcplBA7cykccEur+3fh4G1USXJaVny4V2QlwfbbaXEAelecRI2 FFWpw3LBRRE2Mf7aPsZ0D/clnkVFYCvEFMYtj9mPzfXQjXCZ+IwkipFYrlIDAr3mBO0l 9C7gdrNselDXBpVrsZ+YNYsLwm4bhS8oovWBn1jxgnF0JHY4MTQN9ih1kFDicmUl37I4 h1KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NG4N/2H3vvAjRHdDWUczi40Y7/Fx7mV5GVuGOtkatQQ=; b=bMJPCjW54MUm7vJElQfuvj6n41eP2kxhWezFzxkPKhk5SR2B+G2wUaeRlTz9F0ikN/ T7UtpdKMHR75X2a2uenFKgavz6/2+EFupA4oq9v1C94AYjipqL2wRFRwzMHnFC1yXCvh 9LcVV93+Ab42ola4DeBugJCUlVP0ryt13ezU19vWdgsMEJr5aiKCVCOb2Wg46bu57H3G nqzKxmT34WPEqOU9WbjvJIZHNYIcy9BpHCE9VuT6759o/pFWUDuJrZRoyHrSWCHEj05z 9QknmAgR68ciDB9R5z2ygjSPuYm+s+M5E+BUxQpFKT5gNlSET36yUrMFodI2xz1/DNUF lmGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=R0sVlJzx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si32764933ill.26.2021.07.22.05.38.43; Thu, 22 Jul 2021 05:38:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=R0sVlJzx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231838AbhGVL4I (ORCPT + 99 others); Thu, 22 Jul 2021 07:56:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231738AbhGVL4I (ORCPT ); Thu, 22 Jul 2021 07:56:08 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68505C061575; Thu, 22 Jul 2021 05:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=NG4N/2H3vvAjRHdDWUczi40Y7/Fx7mV5GVuGOtkatQQ=; b=R0sVlJzxfmtaJ6WvW3j1P24Mck t79mECEBGb+nkFlOvxz64p03TMuphOOxmn0+I8v1F1lRm+D/cvj3h/TA3u6WQWtpycj+xWBmNl9nf s/ENwBtucNIFCdCkD2oLdVmzoypMgwjaur21zn9S/SI92T1qohIzy4OGR5WamZAF6p0SJAD3loC2N 99fCSQrJSH9Z8qV5tGB8/5FMZVFCVDRPmHwX1qge2T6Wv4i6xUoorsF2F804YyXkwklybkJJitkgl NCQ6mxnpuTyUyw8tC8v/33aSpL3cX2VNztqLZNefTLOLH674JYKxAr5PoNIuoh0tn8hiohSCet+1h RrZEAfCg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6Xvm-00AFjQ-FL; Thu, 22 Jul 2021 12:36:09 +0000 Date: Thu, 22 Jul 2021 13:36:02 +0100 From: Matthew Wilcox To: Zhouyi Zhou Cc: Chris Clayton , Oleksandr Natalenko , Miaohe Lin , 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" , Greg KH Subject: Re: linux-5.13.2: warning from kernel/rcu/tree_plugin.h:359 Message-ID: References: <5812280.fcLxn8YiTP@natalenko.name> <2237123.PRLUojbHBq@natalenko.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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