diff options
author | 2023-04-06 13:31:29 +0200 | |
---|---|---|
committer | 2023-04-13 17:36:28 +0200 | |
commit | 81e8479649853ffafc714aca4a9c0262efd3160a (patch) | |
tree | e915ac65bdca546ed59942519196a967d361a93b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/mm: rename POPULATE_ONE2ONE to POPULATE_DIRECT (diff) | |
download | wireguard-linux-81e8479649853ffafc714aca4a9c0262efd3160a.tar.xz wireguard-linux-81e8479649853ffafc714aca4a9c0262efd3160a.zip |
s390/mm: fix direct map accounting
Commit bb1520d581a3 ("s390/mm: start kernel with DAT enabled") did not
implement direct map accounting in the early page table setup code. In
result the reported values are bogus now:
$cat /proc/meminfo
...
DirectMap4k: 5120 kB
DirectMap1M: 18446744073709546496 kB
DirectMap2G: 0 kB
Fix this by adding the missing accounting. The result looks sane again:
$cat /proc/meminfo
...
DirectMap4k: 6156 kB
DirectMap1M: 2091008 kB
DirectMap2G: 6291456 kB
Fixes: bb1520d581a3 ("s390/mm: start kernel with DAT enabled")
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions