Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp844292pxb; Wed, 6 Apr 2022 01:38:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaZ43nB/rUYz3jQSde14uIEviphx6FJs8y2hYj8PuPdEoHp6mwaEHb1N/2QB/XZ2t60KA6 X-Received: by 2002:a63:3346:0:b0:398:5811:6b9d with SMTP id z67-20020a633346000000b0039858116b9dmr6102902pgz.137.1649234309239; Wed, 06 Apr 2022 01:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649234309; cv=none; d=google.com; s=arc-20160816; b=TrU0oncBFvOuQ8vCcn7KzTEZVbaqOKdynln4tNOZeHdTYbw1mKMhK4WxHVuXupB+sx VBRadgnjxGmEWbOmjk4vehqc3MM8fttF38V6hqETWRMiijtGz2XpUliWuGjnR03QFVAr RXPyIw1MrfPbPXwJCc+Iv5jCuaa2KNHsMN6AlckcA0HvsWevxqe6sVlc5NKvvlXNwkKk pY7yO7pX8pW6tAKcIQK9PAsaO2LYiHYwWN4kVnHe+/6B3eChLTW0/yAIoYsicutLIqj5 cGCok2U+h8TCocaghwSc0q30YnWPCniB3ixkGPaMZ21jE+hU29YVX7SS/V+uzbWOxSFu wzaw== 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=T2+2DI4PJUlQeQ3bPjloIZWijphTujPw/rrjaz7/Ejs=; b=JWzrHrlQxQKvwvHgrbj/skKnXxmMxFZPPdQf5zxEDh9Iy/5Mudw6SpPjbkLT+lSEIs 6zyQ33MDOY5HY2kCZYvAKz4O3QBBdrU7GAxhMx8MuFFaRJj43g6gxgDqBx/m82eOynV+ 2o2ebaQ+UI2siGk0fX/kI4lNiw2TINNfsMX+vP9R2OobOB25nt790PTzhEycY0OQdUK3 ekqfupTSqWIDHHVe2cZp5MBuN4qUtlbX+i9UpCrR4UGcmJLHFtP3iInxBduq9FSDx5xz uNqBIPu3TEtdckz7GKnDl8xmerZwsguZsvDU1IpRAJCoo4HWbnOtg3MyzVSLtRDg56IQ 3xQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ghtHkB4O; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h11-20020a170902704b00b001569bf09533si8557464plt.251.2022.04.06.01.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 01:38:29 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ghtHkB4O; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 31856236907; Wed, 6 Apr 2022 01:25:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1838773AbiDFA4v (ORCPT + 99 others); Tue, 5 Apr 2022 20:56:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385155AbiDEMbf (ORCPT ); Tue, 5 Apr 2022 08:31:35 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 090C87DE1A for ; Tue, 5 Apr 2022 04:45:50 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 99DBD210E5; Tue, 5 Apr 2022 11:45:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1649159149; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T2+2DI4PJUlQeQ3bPjloIZWijphTujPw/rrjaz7/Ejs=; b=ghtHkB4Oe3/PPKVMfeSxtiRqyttn4srt4dPMqKfup4sys6+1pALw8SNp1pRxsbuNgfa2U1 za2xH+BJM6ssCQ5jl1aKQwmnkGePjjYuRUxUYNmBkyg3kUv/7Yviozl12mPKkoWf4YWkfr yFpKJIYX1CUAzxHqmSdGe/Mjx9kU8pY= Received: from suse.cz (unknown [10.100.201.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 86893A3B87; Tue, 5 Apr 2022 11:45:48 +0000 (UTC) Date: Tue, 5 Apr 2022 13:45:48 +0200 From: Michal Hocko To: Alexander Sverdlin Cc: Nicholas Piggin , Alexander Duyck , Matthew Wilcox , Hugh Dickins , Yu Zhao , Mel Gorman , Lee Schermerhorn , Sasha Levin , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: mm: swap: locking in release_pages() Message-ID: References: <89009285-c75d-0f09-5b08-d133c42a18f9@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 05-04-22 13:36:09, Alexander Sverdlin wrote: > Hello Michal, > > thanks for the quick reply! > > On 05/04/2022 12:43, Michal Hocko wrote: > >> 1. Crash of v5.4.170 on an ARM32 machine: > >> > >> Unable to handle kernel NULL pointer dereference at virtual address 00000104 > >> pgd = e138149d > >> [00000104] *pgd=84d2fd003, *pmd=8ffd6f003 > >> Internal error: Oops: a07 [#1] PREEMPT SMP ARM > >> ... > >> CPU: 1 PID: 6172 Comm: AaSysInfoRColle Tainted: G B O 5.4.170-... #1 > >> Hardware name: Keystone > >> PC is at release_pages+0x194/0x358 > >> LR is at release_pages+0x10c/0x358 > > Which LOC does this correspond to? (faddr2line should give you a nice > > output). > > Sorry, I forgot this info in the initial report: > > this is indeed the del_page_from_lru_list() in this crash. Could you be more specific please? Is the problem in list_del or update_lru_size? -- Michal Hocko SUSE Labs