Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numastat: Update system hugepages memory info from sysfs/node/hugepages directory #157

Merged
merged 1 commit into from
Dec 15, 2022
Merged

numastat: Update system hugepages memory info from sysfs/node/hugepages directory #157

merged 1 commit into from
Dec 15, 2022

Conversation

luochenglcs
Copy link
Collaborator

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.

Update the entire hugepages memory information from the /sys/devices/system/node/node$/hugepages directory.

#152

numastat.c Show resolved Hide resolved
numastat.c Show resolved Hide resolved
numastat.c Outdated Show resolved Hide resolved
numastat.c Outdated Show resolved Hide resolved
numastat.c Show resolved Hide resolved
numastat.c Outdated Show resolved Hide resolved
…es 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.

Update the entire hugepages memory information from the /sys/devices/system/node/node$/hugepages directory.
@luochenglcs
Copy link
Collaborator Author

@andikleen Please review again.

@andikleen andikleen merged commit 2488233 into numactl:master Dec 15, 2022
@andikleen
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants