CKI KWF Bot f837733be2 Merge: selftests/cgroup: Backport cgroup selftests updates and fixes
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2746

JIRA: https://redhat.atlassian.net/browse/RHEL-154157
JIRA: https://redhat.atlassian.net/browse/RHEL-154159
JIRA: https://redhat.atlassian.net/browse/RHEL-184801
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2746
Omitted-fix: d9b40d7262a2 ("selftests/x86: Add selftests include path for kselftest.h after centralization")

This series backports most of relevant cgroup selftests commits in linux
mainline and mm-stable maintainer tree to reduce the failure rate of
the cgroup selftests. This commits do not fix all the test failures but
still many of them should be gone.

By running the cgroup selftests 100 times on an arm64 and x86-64
systems, the table below shows the number of test failures before and
after applying the patches.

	x86-64
	======
	Test					  Before	After
	----					  ------	-----
	test_cpucg_nested_weight_overprovisioned    62		 66
	test_cpucg_stats			    50		 50
	test_cpucg_weight_overprovisioned	    62		 66
	test_memcg_low				   100		  6
	test_memcg_min				    29		  1
	test_memcg_sock				   100		  0
	test_zswap_writeback_disabled		   100		  0
	test_zswap_writeback_enabled		   100		  0
	test_zswapin				   100		  0

	aarch64
	=======
	Test					  Before	After
	----					  ------	-----
	test_cpucg_max				    39		 44
	test_cpucg_max_nested			    25		 23
	test_cpucg_nested_weight_overprovisioned    57		 58
	test_cpucg_nested_weight_underprovisioned    2		  3
	test_cpucg_nice				    95		 79
	test_cpucg_stats			    50		 50
	test_cpucg_weight_overprovisioned	    95		 91
	test_cgfreezer_ptrace			    50		 53
	test_memcg_low				   100		  0
	test_memcg_min				    82		 85
	test_memcg_sock				   100		100
	test_zswap_usage			   100		  0
	test_zswap_writeback_disabled		   100		  0
	test_zswap_writeback_enabled		   100		  0
	test_zswapin				   100		  0

The test_zswap failures are all gone and some of the test_memcontrol
failures are gone. However this MR has no real impact on test_cpu and
test_freezer failures.

Signed-off-by: Waiman Long <longman@redhat.com>

Approved-by: Herton R. Krzesinski <herton@redhat.com>
Approved-by: Phil Auld <pauld@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-08-21 09:19:16 +00:00
2026-08-20 09:15:03 +00:00
2026-08-20 05:16:26 -04:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
S
Description
No description provided
Readme
2.8 GiB
Languages
C 97.5%
Assembly 1%
Shell 0.6%
Python 0.3%
Makefile 0.3%