Skip to contentSkip to conversation

New: BUG: Bad rss-counter state mm:00000000d5ef1295 idx:1 val:3

Bug 201865 Andrew Morton 1 participant 1 message Dec 3, 2018 1 message not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

Andrew Morton

author maintainer
#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 92 lines · On Mon, 03 Dec 2018 18:27:24 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=201865

            Bug ID: 201865
           Summary: BUG: Bad rss-counter state mm:00000000d5ef1295 idx:1
                    val:3
           Product: Memory Management
           Version: 2.5
    Kernel Version: 4.20-rc5
          Hardware: PPC-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Page Allocator
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 279823
--> https://bugzilla.kernel.org/attachment.cgi?id=279823&action=edit
dmesg output

The kernel (4.20-rc5) tells me:

[  873.263594] BUG: Bad rss-counter state mm:00000000d5ef1295 idx:1 val:3
[  873.263605] BUG: non-zero pgtables_bytes on freeing mm: 24576

I've seen bug #196569, but I am not quite sure if this is the same problem. So filing a new bug.

Machine is a Talos II, dual-socket NUMA 4-core POWER9:

# cat /proc/buddyinfo 
Node 0, zone      DMA 166543 151725 106193  58527  20325   4948    914    143  
  11      2      0      2      7 
Node 8, zone      DMA 229945 211748 103714  40310  16707   6915   1726    284  
  34      4      1      2     79 
# cat /proc/meminfo 
MemTotal:       32769896 kB
MemFree:        17302532 kB
MemAvailable:   25725428 kB
Buffers:           39732 kB
Cached:          8185260 kB
SwapCached:            0 kB
Active:          4121112 kB
Inactive:        3958012 kB
Active(anon):      69728 kB
Inactive(anon):      192 kB
Active(file):    4051384 kB
Inactive(file):  3957820 kB
Unevictable:      282456 kB
Mlocked:          282456 kB
SwapTotal:      35653624 kB
SwapFree:       35653624 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:        136704 kB
Mapped:           250228 kB
Shmem:             66504 kB
KReclaimable:    1855456 kB
Slab:            2187396 kB
SReclaimable:    1855456 kB
SUnreclaim:       331940 kB
KernelStack:        6848 kB
PageTables:         3408 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    52038572 kB
Committed_AS:     522416 kB
VmallocTotal:   549755813888 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
Percpu:             9344 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:           0 kB
DirectMap64k:           0 kB
DirectMap2M:     1048576 kB
DirectMap1G:    32505856 kB
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.