16 Commits

Author SHA1 Message Date
zhangnaichuan
4dc8519db2 libnuma: Fix incorrect print and exit of numa_preferred/_many APIs 2024-04-16 15:16:07 +08:00
chenhaixiang
6cde2a7ea4 numactl: fix memory leaks when run with -H
signed-off-by:chenhaixiang3@huawei.com
2023-12-18 20:45:12 -05:00
buque
6e8e6e02dc 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.

(cherry picked from commit 0bd4d6897b2d2dc6e26e2f71729869127dc42945)
2023-11-27 18:38:31 +08:00
buque
10505fadfa 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.

Signed-off-by: buque <wuxu.wu@huawei.com>
2023-06-20 19:02:34 +08:00
buque
5ef20eac60 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

(cherry picked from commit 229e261e9199aaa3507d426d1e4267a448ddaa92)
2023-06-19 20:53:55 +08:00
buque
224164cd1e fix wrong nodemask_sz when CONFIG_NODES_SHIFT is less than 5
(cherry picked from commit 214d7b07a5f2c4d433dd6354ac8be266eb75ab8a)
2023-06-19 20:11:56 +08:00
lijianglin
f17df4f64d fix the problem of some commands of memhog, migspeed and numactl failed to execute
(cherry picked from commit d81184f055d6f766d4da9f86c9714cf7c39b0f28)
2022-12-16 17:27:02 +08:00
Chunsheng Luo
651faa1eca delete unused patches 2022-11-09 21:40:48 +08:00
Chunsheng Luo
8590877e9d update version 2.0.16 2022-11-09 17:45:55 +08:00
zhouwenpei
b4e1fba5ec fix segmentation fault with --offset and output wrong result with --verify
(cherry picked from commit 1d05e348bc6207304c7805e6cdfaec2f0748e57f)
2022-02-08 15:11:19 +08:00
zhouwenpei
57fd46af5a update verion to 2.0.14
(cherry picked from commit 6319429c4b3a247c4476f3848c3d5fa610f2dcef)
2021-11-30 19:59:24 +08:00
luocheng
2feeeaf610 enable make check to execute the test-suites
(cherry picked from commit 54f4e3546bb62f5ad731012fe551a9bf20109113)
2021-11-30 19:47:32 +08:00
chenyanpanHW
aa256d3a45 delete -Sgit from %autosetup, and delete BuildRequires git
(cherry picked from commit 511ca2deab6a14b6caf86b2be3874bf5de64ea84)
2021-11-30 19:45:56 +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