Files
sjhaveri bf0dffe467 Fix hugepagereport failure due to permission error on demote
Newer kernels have a write-only 'demote' file in the sysfs hugepages
directory.

The hugepagereport action uses a wildcard grep command to read all files
in these directories. Since the 'demote' file is write-only,
grep fails with a "Permission denied" error, causing the action and the
functional tests to fail.

This patch refactors the action to explicitly target only the relevant
metrics: 'nr_hugepages', 'free_hugepages', and 'surplus_hugepages'.

Closes-Bug: #2137526

Change-Id: I65cb8e4161bd5a6ca777ccd8aeeb88a61f7a294d
Signed-off-by: sjhaveri <satya.jhaveri@canonical.com>
2026-02-27 00:59:31 +00:00
..
2021-11-15 21:54:13 +00:00
2022-02-17 15:34:22 +01:00
2022-01-08 01:28:04 +00:00
2020-05-26 09:38:07 +01:00