diff --git a/bolt/runtime/hugify.cpp b/bolt/runtime/hugify.cpp index 05c1be4f2d70..a89cba2243c4 100644 --- a/bolt/runtime/hugify.cpp +++ b/bolt/runtime/hugify.cpp @@ -85,7 +85,8 @@ static bool hasPagecacheTHPSupport() { KernelVersionTy KernelVersion; getKernelVersion((uint32_t *)&KernelVersion); - if (KernelVersion.major >= 5 && KernelVersion.minor >= 10) + if (KernelVersion.major >= 6 || + (KernelVersion.major == 5 && KernelVersion.minor >= 10)) return true; return false;