Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2625651rdb; Fri, 22 Sep 2023 04:24:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH01UIcRJI2PQPitpAt4kIxvNLvKx9H6CCGjEjfLpfgxtcAQB8IZ11B2WEL9bOg5mWH8JhR X-Received: by 2002:a05:6358:931b:b0:141:3fd:2441 with SMTP id x27-20020a056358931b00b0014103fd2441mr9070310rwa.30.1695381879056; Fri, 22 Sep 2023 04:24:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695381879; cv=none; d=google.com; s=arc-20160816; b=oCAHnULmUhJQC00GxG2/nOfK0Mr6qFsLvYahQRQba1NOfrW6CvAZ7Ps6UC/aiWbnW/ M/jutem/xudmANm+3Dkyl6FnqGqT8Lnpsdo3pEBt2ASphnuNNHAJpJBaLzkTxtiQqqlG kgPbTsQW0aABk4PE8BjB3bhF7TosN4qF2W/GgX51srZR15AXgqYXJQ/aNGLTlRfAZhNi oMw4fZbbgzXOZOecvm2vRpRIRwNDGfJshOaxfiOQNZ1VAzkFpFgQuJXIEYA7Zmm/2+fi EaDRRCgGQsTQ6DbUb9wXImsyhg3nm/CBRz3hBuUhxBGMeK/y5xHc3AC7zufA7ztTx26K 5F0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:reply-to:user-agent :mime-version:date:message-id; bh=omZZynmTiDjoeWtyjErQfWeBMt93y9kdgApAHs7M5vs=; fh=tfgb4yW8JlIonnS30WsX3ugaIoDmKPk6BULwIxEmGdQ=; b=BhYqq9DkSUJFrhdTcssGiE6thveS1OZ+kFL6bJzUb3yHGJiKjkiHMfdnarAtQnzqJt n9aJJpoHM38DyMwW0CmKskiDnxZnuXNm5q6glWmNVNIT5IywM2MmcRaIYAp/2GRchDUA De2KrNB5mc1BExck83cHxxm2clpCIdL73cIQ9QF+/7Vdshsmhkf3BdFlurOqpc9Vg+r7 7+yKfZoBCSG+aXwXq1bbqGxjSgD8ZjIzFK/rGP2JgITYJM8B6bpii7KX2KX4ducN/tR0 3Qo3Q3zA5jKqNdXIF5X2+mhLV1bGdLx0Ai2PGG7rURdduhdQSxNsOTuDIJxjhZw6zcn1 0l6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l12-20020a63da4c000000b00565f0e91894si3627144pgj.394.2023.09.22.04.24.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 04:24:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0A84681DDE58; Fri, 22 Sep 2023 04:14:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233565AbjIVLOW (ORCPT + 99 others); Fri, 22 Sep 2023 07:14:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233534AbjIVLOV (ORCPT ); Fri, 22 Sep 2023 07:14:21 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91F1DFB for ; Fri, 22 Sep 2023 04:14:15 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qje6w-0008RG-6E; Fri, 22 Sep 2023 13:14:14 +0200 Message-ID: Date: Fri, 22 Sep 2023 13:14:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Linux regressions mailing list Subject: Re: [REGRESSION] Re: [PATCH 6.1 033/219] memcg: drop kmem.limit_in_bytes Content-Language: en-US, de-DE To: regressions@lists.linux.dev Cc: linux-kernel@vger.kernel.org References: <20230917191040.964416434@linuxfoundation.org> <20230917191042.204185566@linuxfoundation.org> <20230920081101.GA12096@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> From: "Linux regression tracking #adding (Thorsten Leemhuis)" In-Reply-To: <20230920081101.GA12096@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1695381255;104e41e4; X-HE-SMSGID: 1qje6w-0008RG-6E X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 22 Sep 2023 04:14:40 -0700 (PDT) [TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.] On 20.09.23 10:11, Jeremi Piotrowski wrote: > On Sun, Sep 17, 2023 at 09:12:40PM +0200, Greg Kroah-Hartman wrote: >> 6.1-stable review patch. If anyone has any objections, please let me know. >> >> ------------------ > > Hi Greg/Michal, > > This commit breaks userspace which makes it a bad commit for mainline and an > even worse commit for stable. > > We ingested 6.1.54 into our nightly testing and found that runc fails to gather > cgroup statistics (when reading kmem.limit_in_bytes). The same code is vendored > into kubelet and kubelet fails to start if this operation fails. 6.1.53 is > fine. > >> Address this by wiping out the file completely and effectively get back to >> pre 4.5 era and CONFIG_MEMCG_KMEM=n configuration. > > On reads, the runc code checks for MEMCG_KMEM=n by checking > kmem.usage_in_bytes. If it is present then runc expects the other cgroup files > to be there (including kmem.limit_in_bytes). So this change is not effectively > the same. > > Here's a link to the PR that would be needed to handle this change in userspace > (not merged yet and would need to be propagated through the ecosystem): > > https://github.com/opencontainers/runc/pull/4018. Thanks for the report. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced 86327e8eb94c52 #regzbot title mm, memcg: runc fails to gather cgroup statistics #regzbot fix: mm, memcg: reconsider kmem.limit_in_bytes deprecation #regzbot ignore-activity FWIW, the porposed fix can be found here: https://lore.kernel.org/all/ZQwnUpX7FlzIOWXP@dhcp22.suse.cz/ This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail. Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.