From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384" From: Christian Borntraeger References: <4e58571e-1991-4a70-7012-ff9dd76afee3@de.ibm.com> Date: Thu, 27 Dec 2018 10:28:56 +0100 MIME-Version: 1.0 In-Reply-To: <4e58571e-1991-4a70-7012-ff9dd76afee3@de.ibm.com> Content-Language: en-US Message-Id: <1d6288dd-a65b-463a-8aeb-33904dafa9cc@de.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Martin Schwidefsky , stable@vger.kernel.org, linux-s390 , linux-kernel@vger.kernel.org Cc: Sasha Levin , Greg Kroah-Hartman List-ID: On 27.12.2018 10:13, Christian Borntraeger wrote: > Martin, > > Right now you get a message > "BUG: non-zero pgtables_bytes on freeing mm: -16384" > for EVERY process that exits in 4.19.5 and later. > > bisect points to > commit 4136161d676a93fc8df6bdb80d720c15522d6c24 > Author: Martin Schwidefsky > Date: Mon Oct 15 11:09:16 2018 +0200 > > s390/mm: fix mis-accounting of pgtable_bytes > > [ Upstream commit e12e4044aede97974f2222eb7f0ed726a5179a32 ] > > Turns out that this patch requires several dependencies so the autoselection of this > patch was missing that. > > Can we either revert this patch or add the dependencies? > > Christian > It seems that adding commit 6d212db11947ae5464e4717536ed9faf61c01e86 ("mm: add mm_pxd_folded checks to pgtable_bytes accounting functions") fixes the issue. Martin, do we need more? Christian