aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2024-11-29 17:39:27 +0100
committerAlexander Gordeev <[email protected]>2024-12-10 15:40:41 +0100
commit41856638e6c4ed51d8aa9e54f70059d1e357b46e (patch)
treeafba0d87620f564278f63ac0823a347537c4bb92 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff)
s390/mm: Fix DirectMap accounting
With uncoupling of physical and virtual address spaces population of the identity mapping was changed to use the type POPULATE_IDENTITY instead of POPULATE_DIRECT. This breaks DirectMap accounting: > cat /proc/meminfo DirectMap4k: 55296 kB DirectMap1M: 18446744073709496320 kB Adjust all locations of update_page_count() in vmem.c to use POPULATE_IDENTITY instead of POPULATE_DIRECT as well. With this accounting is correct again: > cat /proc/meminfo DirectMap4k: 54264 kB DirectMap1M: 8334336 kB Fixes: c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces") Cc: [email protected] Reviewed-by: Alexander Gordeev <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions