linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384"
@ 2018-12-27  9:13 Christian Borntraeger
  2018-12-27  9:28 ` Christian Borntraeger
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Borntraeger @ 2018-12-27  9:13 UTC (permalink / raw)
  To: Martin Schwidefsky, stable, linux-s390, linux-kernel
  Cc: Sasha Levin, Greg Kroah-Hartman

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 <schwidefsky@de.ibm.com>
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384"
  2018-12-27  9:13 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384" Christian Borntraeger
@ 2018-12-27  9:28 ` Christian Borntraeger
  2018-12-27 21:01   ` Sasha Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Borntraeger @ 2018-12-27  9:28 UTC (permalink / raw)
  To: Martin Schwidefsky, stable, linux-s390, linux-kernel
  Cc: Sasha Levin, Greg Kroah-Hartman



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 <schwidefsky@de.ibm.com>
> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384"
  2018-12-27  9:28 ` Christian Borntraeger
@ 2018-12-27 21:01   ` Sasha Levin
  2018-12-27 21:06     ` Christian Borntraeger
  0 siblings, 1 reply; 5+ messages in thread
From: Sasha Levin @ 2018-12-27 21:01 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: Martin Schwidefsky, stable, linux-s390, linux-kernel, Greg Kroah-Hartman

On Thu, Dec 27, 2018 at 10:28:56AM +0100, Christian Borntraeger wrote:
>
>
>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 <schwidefsky@de.ibm.com>
>> 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.

I've queued 6d212db11947 for 4.19 for now, thank you.

--
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384"
  2018-12-27 21:01   ` Sasha Levin
@ 2018-12-27 21:06     ` Christian Borntraeger
  2018-12-27 22:52       ` Sasha Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Borntraeger @ 2018-12-27 21:06 UTC (permalink / raw)
  To: Sasha Levin
  Cc: Martin Schwidefsky, stable, linux-s390, linux-kernel, Greg Kroah-Hartman



On 12/27/2018 10:01 PM, Sasha Levin wrote:
> On Thu, Dec 27, 2018 at 10:28:56AM +0100, Christian Borntraeger wrote:
>>
>>
>> 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 <schwidefsky@de.ibm.com>
>>> 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.
> 
> I've queued 6d212db11947 for 4.19 for now, thank you.

Not sure, but you might need 
1071fc5779d98 mm: introduce mm_[p4d|pud|pmd]_folded
a8874e7e8a889 mm: make the __PAGETABLE_PxD_FOLDED defines non-empty

to avoid compile errors on !s390.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384"
  2018-12-27 21:06     ` Christian Borntraeger
@ 2018-12-27 22:52       ` Sasha Levin
  0 siblings, 0 replies; 5+ messages in thread
From: Sasha Levin @ 2018-12-27 22:52 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: Martin Schwidefsky, stable, linux-s390, linux-kernel, Greg Kroah-Hartman

On Thu, Dec 27, 2018 at 10:06:09PM +0100, Christian Borntraeger wrote:
>
>
>On 12/27/2018 10:01 PM, Sasha Levin wrote:
>> On Thu, Dec 27, 2018 at 10:28:56AM +0100, Christian Borntraeger wrote:
>>>
>>>
>>> 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 <schwidefsky@de.ibm.com>
>>>> 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.
>>
>> I've queued 6d212db11947 for 4.19 for now, thank you.
>
>Not sure, but you might need
>1071fc5779d98 mm: introduce mm_[p4d|pud|pmd]_folded
>a8874e7e8a889 mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
>
>to avoid compile errors on !s390.

Queued those for 4.19 as well, build looks clean.

--
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-27 22:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-27  9:13 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384" Christian Borntraeger
2018-12-27  9:28 ` Christian Borntraeger
2018-12-27 21:01   ` Sasha Levin
2018-12-27 21:06     ` Christian Borntraeger
2018-12-27 22:52       ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).