Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1002494pxv; Thu, 22 Jul 2021 18:53:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjVsIwFV0013qqSxsLAie7FvxwZThfIN0OMY/9BpwfUsfTCox3mcnwKFEeO5QqVVWBQ11+ X-Received: by 2002:a5d:9d07:: with SMTP id j7mr2034484ioj.33.1627005180089; Thu, 22 Jul 2021 18:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627005180; cv=none; d=google.com; s=arc-20160816; b=yl31b/IXF3RXEqzccFMe/F3JkGqHnwmilqYGDuz1aHnsNu7j1Mc5KtKZvO/xmKUZ/X TkWoHlp/mk+/rB2w0x8OP4H1SSjVkFZ1ziA2b8o2wRKXyByAdAcIul+J7W0mkeGz2dYb yERsILimjCgcqiOd/O2K9vZLxz2+0NWqdCL2aFpxEwh6CXreAq3rjdTdyBteUFELMyxr uDxOmbfU2gu0NnEGlG5/hHgDR81XBpBdgHV9CbZfjPwNKOcNex4VqK6WGp/75fK2VVz9 PKQUstC35HgA6DrXe35ai93cxEmYttOf1uYI6Wy95aRhQuG2pacVVV6sxfdKSMwV2W1U 0IgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=AXB6bgrbY8ZlH9jHEwnzS9qvgsXmRHTdqUa5aTUX5os=; b=KtqLaUy0J8RTdZ+hZu2elwXThCnfMuzG0iUx1Kyh1NUogUY2opAdYXvD6oUoKzg53E 9133pKTM/jyVfeXdIO16abuNEJKmvZ/EN9h4vJLlpR8hZC8I8wIkE9yk2CSwuhgOHFmy 6wIO2bTcD4cGxVHxBJrkBY77tojHjr1aSQJKgPNqfmZ3HK4SzbX41DpL/KLEymg7UTZI I29gZPaf/SR5fFqj3LAqDGXTn0ujmpQ7A7AnFm/lvDX0RFpKcFDJsG8P5vQRq8phThQe QVMP3cWAE2SLRXzw6DYfSpyZY4HryXCN8D8sxs5KBlpSJBu7kzpoR0UdWMdiI1ZLu/Nk kkfQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y26si15947327iod.1.2021.07.22.18.52.48; Thu, 22 Jul 2021 18:53:00 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233096AbhGWBKj (ORCPT + 99 others); Thu, 22 Jul 2021 21:10:39 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:12240 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230318AbhGWBKi (ORCPT ); Thu, 22 Jul 2021 21:10:38 -0400 Received: from dggeme703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4GWBwL0q2xz1CMrc; Fri, 23 Jul 2021 09:45:22 +0800 (CST) Received: from [10.174.177.180] (10.174.177.180) by dggeme703-chm.china.huawei.com (10.1.199.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 23 Jul 2021 09:51:10 +0800 Subject: Re: linux-5.13.2: warning from kernel/rcu/tree_plugin.h:359 To: Greg KH , Matthew Wilcox CC: Zhouyi Zhou , Chris Clayton , Oleksandr Natalenko , Boqun Feng , , linux-kernel , , Chris Rankin , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , rcu , Andrew Morton , Linux-MM , "Huang, Ying" References: <5812280.fcLxn8YiTP@natalenko.name> <2237123.PRLUojbHBq@natalenko.name> From: Miaohe Lin Message-ID: <01fef2db-bd7e-12b6-ec21-2addd02e7062@huawei.com> Date: Fri, 23 Jul 2021 09:51:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.180] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggeme703-chm.china.huawei.com (10.1.199.99) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks. > thanks, > > greg k-h > . >