From 8a2c23ea1ee80da23ad1da888b7d4abd0eac06c9 Mon Sep 17 00:00:00 2001 From: Jason Ng Date: Tue, 6 Aug 2024 02:22:15 +0800 Subject: [PATCH] PT-2371 - fix transparent huge pages status check --- bin/pt-summary | 1 + lib/bash/report_system_info.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/pt-summary b/bin/pt-summary index 0013b44ec..2f85a94d9 100755 --- a/bin/pt-summary +++ b/bin/pt-summary @@ -2345,6 +2345,7 @@ report_system_summary () { local PTFUNCNAME=report_system_summary; report_transparent_huge_pages () { + STATUS_THP_SYSTEM=0 if [ -f /sys/kernel/mm/transparent_hugepage/enabled ]; then CONTENT_TRANSHP=$(