Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2714071pxa; Tue, 25 Aug 2020 00:45:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw93+gEX2gHg/p6eKoxns3bt6REShQD/8ANhMGiMgbURdmIlkte6+k9yU/m7SNhjRM0IJ4h X-Received: by 2002:a17:906:2408:: with SMTP id z8mr27809eja.421.1598341512724; Tue, 25 Aug 2020 00:45:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598341512; cv=none; d=google.com; s=arc-20160816; b=rCfyWtVY7IpFc+0c77fv0Zb5HpkoetbbdkGYGbI1BOa+FIfl0a0qjml/BrBx/3lSEe 8odze8sS8RRiP3Wx1//W0gx5+cdDm8VTjqwcQ18aSBStR/66ueUAn3H1QzxM4qsfIQVC iDn1bahgpm4PiTmEtA7pU3kfHWdUZ79feGGSMJ8/1PW9qLn98pGdgh6qfeTq6lmcpXBY A3ciFCs2y4jrlDvyYBJsQgQ73rGMFN9zJKqGaAYhdzIN8U65Gl6KUlsXiZxH7lXxjhfh ahiotK96LvUQpCfNPzDDvAPreFEuwSeMPYTVG5AjGNcAcYo6Nb37Z3FC8JALKBM4EaIk GICA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=r+PVtUx6O6PY0TVdZIapM+qVoC3TMCIEoK7GNAbWgvw=; b=Yv+xwkQHAcUYvVpsvDQRAfMpcUcgn4kE51nfvi06jzWQtDbh5M1JSLCM66l7R8L0su WrDn2mtWv1hST4DKQ7abgWzFNQWKVZKV7Ga7kDDNDSZTKaTZvNVC1TUkpi38iD/cgOFp LBFXm4iqjFb2TgJaWBkrp6Ycoc5q9Qh2iK3Hs3Qxyo+A1FDTQIGFRi8cFgQ6rG/fNAhb LSMximI+kDnM35cJIhMJ/E30Rpbn6XOAPj3/JnHqmateeM8nJqr2QuKGjLi7x5VSWsci s6Nmwqc2FzYPeK3eNvkbGR4rpGxaqjVI1zdX3jJNRABUWYPGnNKSYACTRQvw+EhcHrEB DFoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=pgC21sqz; 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 z13si8110833edp.430.2020.08.25.00.44.49; Tue, 25 Aug 2020 00:45:12 -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=@canb.auug.org.au header.s=201702 header.b=pgC21sqz; 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 S1729483AbgHYHoW (ORCPT + 99 others); Tue, 25 Aug 2020 03:44:22 -0400 Received: from ozlabs.org ([203.11.71.1]:55239 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbgHYHoT (ORCPT ); Tue, 25 Aug 2020 03:44:19 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4BbLbb0zRZz9sTY; Tue, 25 Aug 2020 17:44:11 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1598341457; bh=Y7qAOm5LXj3xJO1LU4/Uc9yKGGyRuix0iKjtoR5Ybwc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pgC21sqz65fkwXGPg1EjAn6DYcG7FDJ2dkW3Xt++e2hodyY7IDjPbmP1ThGopEZt7 N7zwytmjKsXkZpmrmzMWYQZ3Ev1ii1RjEXYowBSHiqKFfmz7kf+raEUT+bNzKH8etX aUlVKvw2qXS6zM78dURS7e+z3IVSPUA+vJOjQD/36p5Pl10NOspmjX2eqIw97v6nbS H1oWoMAVl4V2b4RApkVbG4fEgdcLPT7/7i/g64AJw0tMv5lzoP2lsGCNQokI6taMVG Y54H1X33vqBOGURyOYenuLLKzFJVvQmZK95AjFybhysrpAjNScXw1GTf4ZHddt/xPI YFPXyhtZVB16Q== Date: Tue, 25 Aug 2020 17:44:10 +1000 From: Stephen Rothwell To: Naresh Kamboju Cc: Matthew Wilcox , linux-mm , Linux-Next Mailing List , open list , lkft-triage@lists.linaro.org, Andrew Morton , LTP List , Arnd Bergmann , Russell King - ARM Linux , Mike Rapoport , Catalin Marinas , Christoph Hellwig , Andy Lutomirski , Peter Xu , opendmb@gmail.com, Linus Walleij , afzal.mohd.ma@gmail.com, Will Deacon , Greg Kroah-Hartman Subject: Re: BUG: Bad page state in process true pfn:a8fed on arm Message-ID: <20200825174410.1af823db@canb.auug.org.au> In-Reply-To: References: <20200824110645.GC17456@casper.infradead.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Z40Eod_0LnLaojqiTY7/wC+"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/Z40Eod_0LnLaojqiTY7/wC+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Tue, 25 Aug 2020 13:03:53 +0530 Naresh Kamboju wrote: > > On Mon, 24 Aug 2020 at 16:36, Matthew Wilcox wrote: > > > > On Mon, Aug 24, 2020 at 03:14:55PM +0530, Naresh Kamboju wrote: =20 > > > [ 67.545247] BUG: Bad page state in process true pfn:a8fed > > > [ 67.550767] page:9640c0ab refcount:0 mapcount:-1024 =20 > > > > Somebody freed a page table without calling __ClearPageTable() on it. = =20 >=20 > After running git bisect on this problem, > The first suspecting of this problem on arm architecture this patch. > 424efe723f7717430bec7c93b4d28bba73e31cf6 > ("mm: account PMD tables like PTE tables ") >=20 > Reported-by: Naresh Kamboju > Reported-by: Anders Roxell >=20 > Additional information: > We have tested linux next by reverting this patch and confirmed > that the reported BUG is not reproduced. >=20 > These configs enabled on the running device, >=20 > CONFIG_TRANSPARENT_HUGEPAGE=3Dy > CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=3Dy >=20 >=20 > -- Suspecting patch -- > commit 424efe723f7717430bec7c93b4d28bba73e31cf6 > Author: Matthew Wilcox > Date: Thu Aug 20 10:01:30 2020 +1000 >=20 > mm: account PMD tables like PTE tables OK, I have reverted that patch from todays' linux-next. --=20 Cheers, Stephen Rothwell --Sig_/Z40Eod_0LnLaojqiTY7/wC+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl9EwUoACgkQAVBC80lX 0GxJJwf/VPBxX45ROMwkoKpUInftEerYb6NZ5Muk8AS1xBRl0rD+0luk9VA1ABGi TzqC7jVz4maQV4fxLZH9+sMMvVkaW9ltHXDgxmoksmFNvLBPkVdMOWNyEYIecxAX zExf6S4P2NsZ8yky3DSEW+nOhFqCuktnR91sJXhUN45buP9vKKmszqgtFOrdNtkG rwUlJP2GHr0TOLvEUKthE3lUnxL/whN2X5ZDYj/0HiIn00C0YSbLF3vGyFnlwKy8 lkMCk87hk+xKpND9DEk/IjcpLPIaJfFiVhxucEAgDjFv3/uRb/D+owtmdXAmRKip /3gVT9vtSLlOrwBo95Pu4mB1Ke46YQ== =bf3j -----END PGP SIGNATURE----- --Sig_/Z40Eod_0LnLaojqiTY7/wC+--