summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/log.h
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2023-05-05 19:58:15 +0000
committerPascal Terjan <pterjan@gmail.com>2023-05-05 20:11:21 +0000
commitbc1b6ee565efced5ce23ad68a1e302f61bcc8b09 (patch)
tree49b028c1dde18fe9bbd6473fb9e58923b15aa224 /mdk-stage1/log.h
parent439e249b3e8696c8eac136a846d5d5bdffc071a1 (diff)
downloaddrakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.tar
drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.tar.gz
drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.tar.bz2
drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.tar.xz
drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.zip
Fix total_memory()
It was using the size of /proc/kcore which is 128T on x86_64 regardless of available memory, and does not exist on aarch64. Instead use sysinfo().
Diffstat (limited to 'mdk-stage1/log.h')
0 files changed, 0 insertions, 0 deletions