Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3200875pxv; Sun, 18 Jul 2021 14:38:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwvj1BCvYhcKMzbfP8n8D0t55mb0XMav8LJnxWoDO2U/Z9VL5OFLjXiyF8JWMeSR6B4cRg X-Received: by 2002:a17:907:b0d:: with SMTP id h13mr24330865ejl.279.1626644283869; Sun, 18 Jul 2021 14:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626644283; cv=none; d=google.com; s=arc-20160816; b=0sfk/KPx9sMCzXfm8Na97w2gcRnzyO25NhPNFwTy+4qr1NP4QbexJL8o5UGAtgy9bT Ouf5dSh26MMd9HpmIsMHwGfMm0eKOIkzHk6wGetiSNDqbKo+oJ8lFLSkvE8aHeqhxAWp OZdaV9SPYRAbenolZi/FmJXfCK97O5qfXIpIOJk6MdNZESe+HpMCKKTxuifZ5uI7l4je /7MdH8qXq28jE/XqpVezdjXJVtc6+C30wdOulTzXRFEKS0GZpzVFOsR22v0QmNeO4EXW WGIZ0SvmyBdFxA+YdHWcifuF9psxpPHkHt4y2bFL+BseXbf3CPnKokigCrcAdavub+Gu VZwQ== 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:dkim-signature; bh=TvIEPFl+F+P1NgPFrOx7C+hzgF78kqRRe5XTxIq3UqM=; b=O5Xcv6LRHsV1H0nURXGLFznGJe4SGrfnAiuZM0T7kePWm2EEGO2jc5hJ4IhvbCxFlq gK/nfbdPVjHWvAd03T2t4HHy9GLK5Xs4THMPP7veNRlsDTa+4vutCx45sYXPjn4777+4 w8mb2esoF+5iXu+3+LyLj262sItxKBedA/JOtUWZMhXKspZFKUaLyptbuPzKBH/mv8CY cWiA+XXpx15mGuzwYqXGE6dyca2ExxqpcYfIFXtSTmAjhC4ZAG7IgE3czW9SEKI/WGYQ oVDXdWpVY7AdkM7NVOilW7hum1taicY/4uV2iNHygR1OWu22DrQe596HbIcl6l/HjiOW 7xHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=tbcNiPA0; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si18257618ejj.375.2021.07.18.14.37.40; Sun, 18 Jul 2021 14:38:03 -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=@googlemail.com header.s=20161025 header.b=tbcNiPA0; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233062AbhGRVjm (ORCPT + 99 others); Sun, 18 Jul 2021 17:39:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232459AbhGRVjl (ORCPT ); Sun, 18 Jul 2021 17:39:41 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B362C061762; Sun, 18 Jul 2021 14:36:42 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id l6so9146210wmq.0; Sun, 18 Jul 2021 14:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TvIEPFl+F+P1NgPFrOx7C+hzgF78kqRRe5XTxIq3UqM=; b=tbcNiPA0zPQU0QbM6mZjNFZI3fI7/Tyva/zbSxE1j1K1d6TwNgDHCeWhtqD9Myl9a5 5e6TmCYFkTpWtBNbS8dATZAMTdzDX7DzVUHhlo8+s9XBMoAeUW+ArG4DlLuoYF4ZXQA4 72eKcUs7gBrFAHYfNS90mExwyMg1hx0x9d5DCquiDcBNq2Ek7DK27wF/pXFgeZXRjvBz QKWnayzMdvVvOUmBwRpuo/XN2T+WpTbXtnlduvzy81xOV2vnNFqzco1FbxohprWAfUcZ IUXhCdGXFn4M0wkaigt9q6o2B3pBaYbicueBZEf564GVFqbg3nMaEYQjfjyuTfne9Lcx U1xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TvIEPFl+F+P1NgPFrOx7C+hzgF78kqRRe5XTxIq3UqM=; b=BuS9dPAIMTGhW9i8t5aW3y7VKwF+Je5fiA6iCiq7l7359cSfkER+fxNJFfCQRv8C7n VLUHXIdf4lgu0+hviNl4dasVPGnt/moPvlIiO+ldldB0+oX0BoPgjYfOXwHrzH5DVSGn Z+pbU1XIlU0Aa9T7mrT1/YyK61WsJWPxugD+FvoydHns3nEfn1hdsu2FbKn+MKeRKe1Q 5noyC2A/GcUVhj3uooHntC+sbv7AzPsKvQrykbfK0PSWL3h5AL8dTw2wWif1ngHgh4aH 83X/IszUjrO7STterAzi67sN10c17XPjhCw/fmX5Z7L9gAgVjadIbJYu2LWUONpKEjjy ZBDg== X-Gm-Message-State: AOAM532c/ionERPl9ZVBiA8BH8LOW8YMLa42mRQgtRVrDW4n5hD1lSFv bQh+0xtRTdFS1+SEo6a5tethJMBrZUHEwWGtMZA= X-Received: by 2002:a7b:ca59:: with SMTP id m25mr28737082wml.74.1626644200469; Sun, 18 Jul 2021 14:36:40 -0700 (PDT) Received: from [192.168.1.10] ([94.10.31.26]) by smtp.googlemail.com with ESMTPSA id s17sm18435340wrv.2.2021.07.18.14.36.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Jul 2021 14:36:39 -0700 (PDT) Subject: Re: linux-5.13.2: warning from kernel/rcu/tree_plugin.h:359 To: Matthew Wilcox , Oleksandr Natalenko Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Chris Rankin , "Paul E. McKenney" , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , rcu@vger.kernel.org, Andrew Morton , linux-mm@kvack.org References: <2245518.LNIG0phfVR@natalenko.name> <6698965.kvI7vG0SvZ@natalenko.name> From: Chris Clayton Message-ID: Date: Sun, 18 Jul 2021 22:36:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/07/2021 22:22, Matthew Wilcox wrote: > On Sun, Jul 18, 2021 at 11:03:51PM +0200, Oleksandr Natalenko wrote: >> + stable@vger.kernel.org >> >> On neděle 18. července 2021 23:01:24 CEST Oleksandr Natalenko wrote: >>> Hello. >>> >>> On sobota 17. července 2021 22:22:08 CEST Chris Clayton wrote: >>>> I checked the output from dmesg yesterday and found the following warning: >>>> >>>> [Fri Jul 16 09:15:29 2021] ------------[ cut here ]------------ >>>> [Fri Jul 16 09:15:29 2021] WARNING: CPU: 11 PID: 2701 at >>>> kernel/rcu/tree_plugin.h:359 rcu_note_context_switch+0x37/0x3d0 [Fri Jul > > Could you run ./scripts/faddr2line vmlinux rcu_note_context_switch+0x37/0x3d0 > $ ./scripts/faddr2line vmlinux rcu_note_context_switch+0x37/0x3d0 rcu_note_context_switch+0x37/0x3d0: rcu_note_context_switch at ??:? >>>> [Fri Jul 16 09:15:29 2021] Call Trace: >>>> [Fri Jul 16 09:15:29 2021] __schedule+0x86/0x810 >>>> [Fri Jul 16 09:15:29 2021] schedule+0x40/0xe0 >>>> [Fri Jul 16 09:15:29 2021] io_schedule+0x3d/0x60 >>>> [Fri Jul 16 09:15:29 2021] wait_on_page_bit_common+0x129/0x390 >>>> [Fri Jul 16 09:15:29 2021] ? __filemap_set_wb_err+0x10/0x10 >>>> [Fri Jul 16 09:15:29 2021] __lock_page_or_retry+0x13f/0x1d0 >>>> [Fri Jul 16 09:15:29 2021] do_swap_page+0x335/0x5b0 >>>> [Fri Jul 16 09:15:29 2021] __handle_mm_fault+0x444/0xb20 >>>> [Fri Jul 16 09:15:29 2021] handle_mm_fault+0x5c/0x170 > > You were handling a page fault at the time. The page you wanted was > on swap and this warning fired as a result of waiting for the page > to come back in from swap. There are a number of warnings in that > function, so it'd be good to track down exactly which one it is. >