Revision be458311cdbb5d94820ffc4e40c5906085c0a507 authored by Roman Gushchin on 01 October 2020, 20:07:49 UTC, committed by Linus Torvalds on 02 October 2020, 16:13:41 UTC
Since commit ea426c2a7de8 ("mm: memcg: prepare for byte-sized vmstat items") the write side of slab counters accepts a value in bytes and converts it to pages. It happens in __mod_node_page_state(). However a non-SMP version of __mod_node_page_state() doesn't perform this conversion. It leads to incorrect (unrealistically high) slab counters values. Fix this by adding a similar conversion to the non-SMP version of __mod_node_page_state(). Signed-off-by: Roman Gushchin <guro@fb.com> Reported-and-tested-by: Bastian Bittorf <bb@npl.de> Fixes: ea426c2a7de8 ("mm: memcg: prepare for byte-sized vmstat items") Acked-by: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 472e5b0
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 76 bytes |
Makefile | -rw-r--r-- | 88 bytes |
irqbypass.c | -rw-r--r-- | 5.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...