Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3193165pxv; Sun, 18 Jul 2021 14:23:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMfGTMmZZAUwo5TiVuqXQik6bKHz3y9FDo2UcPVym02tFi8+jqGdIFKnxM521EKVUpTph8 X-Received: by 2002:a05:6602:249a:: with SMTP id g26mr16173893ioe.150.1626643404304; Sun, 18 Jul 2021 14:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626643404; cv=none; d=google.com; s=arc-20160816; b=s1FJADGgnF28rbL6g7EXQWx0tBjOB4zrhbqKY9L0JeLTcrG7/x/roTJTuiUGBBX9Y4 L5gJYjkgYNi9G4o/KQFq62OwJN3AoYPjhCiGdIjHuvlqKDi9DWsYpz4VjzNFT4tcMIUh TGm8+VN0bLmMySoJO2+ufv71WJQnYT0+8cyRu4h5JDw45RnZCuX2C6p61ByhSKVcK5o3 ytSfsOCAukBJpxzNStiO/zi+NRDbGznLswmXtHVRKhAPtwzBu/fMEzPWcB/TLb66eFbG 855E/BpIURzyGsmyI6X44iJK5EKhdofRvA8fKMH+c+i6bHxwHc5yiR46BTi1eikdOQVE fN3w== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bkAVAt/3DQZ7jiAuNPkT7sUY+jmd1SQANJgkqozmmAM=; b=qvbqy/FBFNKIjsyoJq8TLRJf2S0eW3r/8Q2mrbyOA/EPVXrsuCy/j++h+Xy8NTzeus bW8hEVsET16O1ZloFRnbxfMFgN/uWHwZqQ/mIBJuTZzRV7X5yhdRAHOKBlpBUNdNgEfz IMQvlzyRYyAEQ9IzjpWpEZNjqYbri4kItZwJB28xrHSpzPS6TWdK6ccFLL/UAy1tUtTa SudOseuYTkEEW6hQD0s2veCeLXnb+HrMx3EiFeF0JooixXifN8WCErmIS+AWAYq7pruz 4sOdhqy8AiS7srk4yNp53uAaaD2dNPuQGAu+ls80563wVLxerzRkaFMVbWdF2N2exPuy S7zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="p/n16vws"; 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 o18si19215764jat.46.2021.07.18.14.23.12; Sun, 18 Jul 2021 14:23:24 -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="p/n16vws"; 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 S232459AbhGRVZk (ORCPT + 99 others); Sun, 18 Jul 2021 17:25:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbhGRVZk (ORCPT ); Sun, 18 Jul 2021 17:25:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CA33C061762; Sun, 18 Jul 2021 14:22:41 -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-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=bkAVAt/3DQZ7jiAuNPkT7sUY+jmd1SQANJgkqozmmAM=; b=p/n16vws4Zla/DwGh1eH9QPXEY M9stV+oN/cgZvQdGQcpGvAIhLq5q8OtH1Dg+kUM/3VScbgd9OCORaqVtdQ3TcaS0Odp8Ffx/vQsWZ gnTJ8g3liZXHJWqnfHI+oYHfScJTDt6HUAz/i7LSUabLIBtq6C6OG2ixxwLf502wwO30EV94e00iZ K43DIB3ACwQ35uTIK7UwqmFjZSG0UkynrvQ/Sf6GJ6rsXYxzQp9IYhdpMg1NH1wAIjqRTp0zksGZ7 RPGDa2NxZvzGOzM7MJXZzpb1VxR9LmHmRLRd/IrPX/88nW2bmtFX2zmSGZBCA7qRlzwR9L0px0QAD djAR8qZg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5EEv-006Iqu-RN; Sun, 18 Jul 2021 21:22:28 +0000 Date: Sun, 18 Jul 2021 22:22:21 +0100 From: Matthew Wilcox To: Oleksandr Natalenko Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Chris Clayton , 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 Subject: Re: linux-5.13.2: warning from kernel/rcu/tree_plugin.h:359 Message-ID: References: <2245518.LNIG0phfVR@natalenko.name> <6698965.kvI7vG0SvZ@natalenko.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6698965.kvI7vG0SvZ@natalenko.name> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > [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.