lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4b69c14f-1001-48a0-9c83-6d2284b5a04a@redhat.com>
Date: Tue, 24 Jun 2025 10:25:23 +0200
From: David Hildenbrand <david@...hat.com>
To: Li Wang <liwang@...hat.com>, akpm@...ux-foundation.org,
 lorenzo.stoakes@...cle.com, linux-kselftest@...r.kernel.org,
 linux-mm@...ck.org, linux-kernel@...r.kernel.org
Cc: Aruna Ramakrishna <aruna.ramakrishna@...cle.com>,
 Bagas Sanjaya <bagasdotme@...il.com>,
 Catalin Marinas <catalin.marinas@....com>,
 Dave Hansen <dave.hansen@...ux.intel.com>, Joey Gouly <joey.gouly@....com>,
 Johannes Weiner <hannes@...xchg.org>, Keith Lucas <keith.lucas@...cle.com>,
 Ryan Roberts <ryan.roberts@....com>, Shuah Khan <shuah@...nel.org>
Subject: Re: [PATCH v2] ksm_tests: Skip hugepage test when Transparent
 Hugepages are disabled

On 24.06.25 05:27, Li Wang wrote:
> Some systems (e.g. minimal or real-time kernels) may not enable
> Transparent Hugepages (THP), causing MADV_HUGEPAGE to return EINVAL.
> This patch introduces a runtime check using the existing THP sysfs
> interface and skips the hugepage merging test (`-H`) when THP is
> not available.
> 
> To avoid those failures:

But we deliberately have in tools/testing/selftests/mm/config:

CONFIG_TRANSPARENT_HUGEPAGE=y

So isn't this rather a test setup issue? Meaning, the environment is
not well prepared.

-- 
Cheers,

David / dhildenb


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ