From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55D95606A31F for ; Sat, 5 Dec 2026 17:33:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=aiWFiMN0 Received: by kanga.kvack.org (Postfix) id 403306B05BC; Sat, 5 Dec 2026 12:33:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3DA3B6B05BD; Sat, 5 Dec 2026 12:33:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 317636B05BE; Sat, 5 Dec 2026 12:33:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 03A336B05BC for ; Sat, 5 Dec 2026 12:33:12 -0500 (EST) Received: from smtpin25.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 83EF314063D for ; Sat, 5 Dec 2026 17:33:12 +0000 (UTC) X-FDA: 85510625424.25.0872E42 Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by imf10.hostedemail.com (Postfix) with ESMTP id D4415C0018 for ; Sat, 5 Dec 2026 17:33:10 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20260515 header.b=aiWFiMN0; spf=pass (imf10.hostedemail.com: domain of sashiko-bot@kernel.org designates 172.105.4.254 as permitted sender) smtp.mailfrom=sashiko-bot@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; d=hostedemail.com; s=arc-20220608; cv=none; t=1796491991; b=LSWbB1V2qpOOl06/+ZQQF1W9iS1JQISvW9EhVeP3DbGJhc+890i5+3T38aH8kHKTfx4Yj2 Po3Q97+LWxkQkMKHOlvjPUt8PrySLzPgwGy0Qt4xFPXgDFZ/ut9i90NyTYJPnnweIVtnw4 vzjQA3phqoObMUVvPzaGplTF97oD07o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1796491991; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=AVbCArfEcs48Tg40vowokoXemfTb7cRvt9nQ5lt2+4E=; b=H9pRGDxKOFE41pAgdu5t05o8ZZr3riJHk6heabQP1YW+OXYYqbDOWp3d1l6FADUmr3xGPl oM+rDfDbKaYSWIn3NIy6uh8au7CYuxO31yFVgHJyYEwxgrsYzLy8Q16XvMej/qakju5Jo8 FBdUuSgNY+G2DxN1lLpb74lDjkebaSQ= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20260515 header.b=aiWFiMN0; spf=pass (imf10.hostedemail.com: domain of sashiko-bot@kernel.org designates 172.105.4.254 as permitted sender) smtp.mailfrom=sashiko-bot@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 701F1613F3; Sat, 5 Dec 2026 17:33:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 848CE1F00A07; Sat, 5 Dec 2026 17:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796491990; bh=AVbCArfEcs48Tg40vowokoXemfTb7cRvt9nQ5lt2+4E=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=aiWFiMN0QmMOT742KTWTGMerVM37DZb55BiCA2uKdIu6DWGzglYlZgWEFJfUtk5GH 9Hd4OU3lzg4pOjwxfWq/fIa1RhHNWIMy9ygA1WQCOSQJo0+COCIWYTxxbKi3GAWGV6 3+xRHX5vqmuV9AHBEF/IaTFEQz5J+jvVZ3hZRP9gGHGXVGYoWCjxt4Uh317LBYKz68 zdWWO2+xyV5NZsGPMEnkiFtYyFxhrf7enHyRFzTRYDBQ6F+Aptoc1WlyZV92IK5aXd Ooe86wsYqhVZiVBCnQQfEkXcoeqeNIu00PnYYaZQs3m8koElfUojF40FGvb4qS9mXN 9tOvgxqTauiuw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 3/4] selftests/mm: restore hidden hugetlb reservation scenarios Reply-To: sashiko-reviews@lists.linux.dev To: "Kurt Lin" , "Andrew Morton" Cc: "David Hildenbrand" , "Liam R. Howlett" , "Vlastimil Babka" , "Mike Rapoport" , "Michal Hocko" , "Shuah Khan" , "Mina Almasry" , "Sayali Patil" , "Zi Yan" , "Song Hu" , linux-mm@kvack.org, "Li Wang" In-Reply-To: <20261205-hugetlb-charge-multi-cgroup-v1-3-e88105afc12a@gmail.com> References: <20261205-hugetlb-charge-multi-cgroup-v1-0-e88105afc12a@gmail.com> <20261205-hugetlb-charge-multi-cgroup-v1-3-e88105afc12a@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 17:33:09 +0000 X-Rspam-User: X-Rspamd-Queue-Id: D4415C0018 X-Rspamd-Server: rspam03 X-Stat-Signature: 453f9ikpquykuxscpzex9gzfjd6na359 X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-HE-Tag: 1796491990-257425 X-HE-Meta: U2FsdGVkX1/idWeU9PdW//eIQFuZ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hQ9V8emrYZwMpBwaeLALXbVHvc1hylTvSRarFOuKS5Nk5h356KW4noD1LR4x1CypXFUqdQHLakdf3vHNCAZbohQ4MhdLeP82XW+Nl8y0vbR3SPjvQmVkK8P0rk9ry2o7D+qUPH9cZuLAAZQnEUP2vob0Av0xnAKWOH/a3dwHEPWKkV0gbTZtjdaSNFwPIpX0R0KxP1ULgSeDBm0ptQTJlbWg5Sqp1Ync0CoX4rlCVt7zlnjndpqLbr/k+uAEjIPoFxQtwPkgi80uPjyfxZhp1nOTVX3CNRu1sdWVCQL4sQuIrRVQkjwEEPg3zGWomJebw975k7OnwwGDdDbJD6fCoHVErnEFiftG7705SF6JZcXz77JxWj2ev9sO+EKF02rb9Xw8VlHGXP2vAN6PJI89xdpa4+zGdb/fCnBTknL//gQUi2Y7qtzMVbpIf6ZSDQIa8GKQV3z8v5HjJzfvGti2JoYvkaASAHpFCC2GWdKjCyFKkSPTQUR6p0XiOfhkdNsRADrEdnlPCqc/NIBHGdncxgjEdULZVooipzIBLTOpeUPsENxdUv4UXee5qZsFsdJoLO261Qd5Dhbqg/WgViI7yh26SxGCeFZRbs/m8zj6EGfm9IlSz2qfIDKfg8pax1wVS/oqzPtJLtwmkDCZqJTn3SJa1oXmOW8ZlQduGk+aVZl9jvZwOOMA== Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Low] selftests/mm: missing Fixes trailer for commit 29750f71a9b4 - [Low] selftests/mm: misplaced continue still skips cgroup limit test -- commit 19ae8c68cb5184ba9c0eb05020ea71bc09f043da Author: Song Hu > selftests/mm: restore hidden hugetlb reservation scenarios > > A stray 'continue' in the main loop of charge_reserved_hugetlb.sh made > the "more than reservation", "more than cgroup limit", and "multiple > cgroups" scenarios unreachable, so they never ran. > > Remove it so the first two run again. The third, > run_multiple_cgroup_test(), is separately broken -- a backslash > line-continuation breaks its local declarations and its hugetlb > reservation accounting does not charge as expected -- and has never run > in CI; skip it explicitly with a comment until fixed. Also correct two > `[[ "$method" =3D=3D 2"" ]]` typos (harmless empty-string concatenation) > to plain `2`. > > Signed-off-by: Song Hu > Signed-off-by: Kurt Lin [Severity: Low] This fixes the stray continue and comparison typos introduced by commit 29750f71a9b4 ("hugetlb_cgroup: add hugetlb_cgroup reservation tests"). Should this include: Fixes: 29750f71a9b4 ("hugetlb_cgroup: add hugetlb_cgroup reservation test= s") > diff --git a/tools/testing/selftests/mm/charge_reserved_hugetlb.sh b/tool= s/testing/selftests/mm/charge_reserved_hugetlb.sh > index 92d6a66e6a846..e43b7bc1ad1b9 100755 > --- a/tools/testing/selftests/mm/charge_reserved_hugetlb.sh > +++ b/tools/testing/selftests/mm/charge_reserved_hugetlb.sh [ ... ] > @@ -525,6 +524,15 @@ for populate in "" "-o"; do > =20 > cleanup > =20 > + # The "multiple cgroups" scenario (run_multiple_cgroup_test) is > + # multiply broken and has never run in CI: a backslash > + # line-continuation breaks its local declarations, it passes > + # reservation sizes in bytes rather than pages (unlike > + # run_test), and its assertions compare page counts to byte > + # values. Skip it until properly rewritten; the two scenarios > + # above are restored by this change. > + continue > + > echo > echo > echo [Severity: Low] Does this continue still skip the "Test more than cgroup limit case." scenario? This block sits after "Test more than reservation case." and before "Test more than cgroup limit case.", leaving the cgroup limit test unreachable contrary to the comment and commit message. Moving it past that test's cleanup (before "Test normal case, multiple cgroups.") fixes it. A later patch in the series, commit "selftests/mm: fix and enable the multiple cgroups hugetlb tests", removes this continue block, so the test runs at the end of the series, though bisecting or applying this patch standalone still leaves it skipped. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205-hugetlb-ch= arge-multi-cgroup-v1-0-e88105afc12a@gmail.com?part=3D3