14 Commits

Author SHA1 Message Date
buque
ce3056a463 numastat: Update system hugepages memory info from sysfs/node/hugepages directory
`numastat -m` gets hugepages memory just from /sys/devices/system/node/node$/meminfo,
it is not the entire hugepages memory of the system, just the default huge page.

Signed-off-by: buque <wuxu.wu@huawei.com>
2023-06-25 10:37:22 +08:00
buque
202ca9f2cc shm.c: Replace stat64/fstat64/ftruncate64mmap64 with normal functions
These functions were needed when _FILE_OFFSET_BITS was not 64, using
AC_SYS_LARGEFILE will detect it correctly and make the normal variants
of these functions behave same as their *64 counterparts.
2023-06-20 17:36:39 +08:00
buque
229e261e91 numactl.c: Fix merging of neighboring pages' policies in dump_shm
In addition to checking that the policies are equal, also check that
the nodes are equal, since the policies may be the same but apply to
different nodes.

Fixes #170
2023-06-19 20:26:20 +08:00
buque
214d7b07a5 fix wrong nodemask_sz when CONFIG_NODES_SHIFT is less than 5 2023-06-19 19:59:42 +08:00
lijianglin
b954a3c1ba fix the problem of some commands of memhog, migspeed and numactl failed to execute
(cherry picked from commit d81184f055d6f766d4da9f86c9714cf7c39b0f28)
2022-12-16 17:27:09 +08:00
Chunsheng Luo
52539b7b43 delete unused patches
(cherry picked from commit 651faa1eca3695ef77c181388cf79c97811fc1ad)
2022-11-09 21:46:39 +08:00
Chunsheng Luo
d8c5637d57 update version 2.0.16
(cherry picked from commit 8590877e9d20568a8a3ddc796792cbe7c4a045b2)
2022-11-09 21:45:57 +08:00
zhouwenpei
ac1447b100 fix segmentation fault with --offset and output wrong result with --verify
(cherry picked from commit 1d05e348bc6207304c7805e6cdfaec2f0748e57f)
2022-02-08 15:11:22 +08:00
zhouwenpei
6319429c4b update verion to 2.0.14 2021-11-30 14:56:59 +08:00
luocheng
54f4e3546b enable make check to execute the test-suites 2021-08-26 09:53:06 -04:00
chenyanpanHW
511ca2deab
delete -Sgit from %autosetup, and delete BuildRequires git 2021-07-30 23:10:15 +08:00
HukunaMatata
4e76139ef5 upgrade version to 2.0.13 2020-01-10 16:56:22 +08:00
dogsheng
640b6323b0 Package init 2019-12-25 15:59:33 +08:00
overweight
01d34a3665 Package init 2019-09-30 11:10:22 -04:00