On Thu, Oct 01, 2020 at 01:39:31PM -0700, Roman Gushchin wrote:
> > # Processor type and features
> > #
> > # CONFIG_ZONE_DMA is not set
> > # CONFIG_SMP is not set
> 
> Yes, here is the deal.
> 
> The SMP-version of __mod_node_page_state() converts a passed value from bytes
> to pages, but the non-SMP doesn't.
> 
> Thanks!
> 
> --
> 
> From 3d0233b37340c78012b991d3570b92f91cf5ebd2 Mon Sep 17 00:00:00 2001
> From: Roman Gushchin <g...@fb.com>
> Date: Thu, 1 Oct 2020 13:07:49 -0700
> Subject: [PATCH] mm: memcg/slab: fix slab statistics in !SMP configuration


I manually applied your patch and
this fixes to issue on my side too:

/ # free
              total        used        free      shared  buff/cache available
Mem:         122176        2484      114848           0        4844
113228
Swap:             0           0           0

/ # uname -a
Linux (none) 5.9.0-rc7 #1 Fri Oct 2 08:50:59 CEST 2020 x86_64 GNU/Linux
/ #

Thanks a lot and sorry for the delay (my bisecting was too slow),
bye Bastian Bittorf

Reply via email to