public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] selftests/cgroup: Fix false positive failures in test_percpu_basic
@ 2026-05-01  2:20 Li Wang
  2026-05-01  2:20 ` [PATCH v2 1/2] selftests/cgroup: Fix hardcoded page size " Li Wang
  2026-05-01  2:20 ` [PATCH v2 2/2] selftests/cgroup: include slab in test_percpu_basic memory check Li Wang
  0 siblings, 2 replies; 4+ messages in thread
From: Li Wang @ 2026-05-01  2:20 UTC (permalink / raw)
  To: akpm, hannes, mhocko, roman.gushchin, shakeel.butt, muchun.song,
	tj, mkoutny, shuah
  Cc: cgroups, linux-mm, linux-kselftest, linux-kernel

This patch series addresses two separate issues that cause false
positive failures in the test_percpu_basic test within the cgroup
kmem selftests.

The first issue stems from a hardcoded assumption about the system
page size, which breaks the test on architectures with larger page
sizes.

The second issue is an overly strict memory check that fails to
account for the slab metadata allocated during cgroup creation.

v2:
  * Replace my email with li.wang@linux.dev
  * Adding Waiman's Reviewed-by tag

Li Wang (2):
  selftests/cgroup: Fix hardcoded page size in test_percpu_basic
  selftests/cgroup: include slab in test_percpu_basic memory check

 tools/testing/selftests/cgroup/test_kmem.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

-- 
2.54.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-06 12:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-01  2:20 [PATCH v2 0/2] selftests/cgroup: Fix false positive failures in test_percpu_basic Li Wang
2026-05-01  2:20 ` [PATCH v2 1/2] selftests/cgroup: Fix hardcoded page size " Li Wang
2026-05-06 12:10   ` Sayali Patil
2026-05-01  2:20 ` [PATCH v2 2/2] selftests/cgroup: include slab in test_percpu_basic memory check Li Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox