Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2584169iog; Sun, 26 Jun 2022 20:59:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t/JWX3DjLGPgQaV54iKbS1OXMGmKw3aD6lMBVyvGQGP7ekkg2xWPu9yr2KhMooHm/qCvNx X-Received: by 2002:a05:6402:510a:b0:435:bcb8:756d with SMTP id m10-20020a056402510a00b00435bcb8756dmr13509841edd.277.1656302352412; Sun, 26 Jun 2022 20:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656302352; cv=none; d=google.com; s=arc-20160816; b=UoeYRL10ry8ETVDeopRKZgyPhOFxJ60R6eTqChUU4rH9MyLBd5M3havS29CnD8XQlY QsQS4beDrdQhEwEYR+tepZEmrGT4QBZ1g4k5jYZNMeDIjs/q88XDc3Gm6ryyJZ25bCQH J9PoramOU78UuWbUhdaajlD5azstTrEL+3RvlIMbYzKB01W/lBEPIs6zeNQhH0MaI/qq jkFd/ZQckQQg+1u0v43EHjCw/Ant3bwYQ9iiCawstxiHrmzvU8SAOGdX7DrTsDhDerlW K4CRuoJeqNvPQYwG2Lmj8rAyErdNKRk4l+eVNqwmtLF4lSwQ8W3PoMIZBC3u6yqvtxuU m9Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=udYx9yVhBp19zfd4dxd6NWb/kHxWi5c9y7nXzGrjJEY=; b=HOjD1WfHFiGNieNTTmcx2FdumbHfycV6K6u9rgseDEks/7OWLOwHLJnYDnP8MmoBCh VL1cR0Zya8wiV8F67SNZvtJd7w7MJiBbg6yO0vcXTIR6dwKjHRIKVAx/+gACYlTH0Nl6 r3qXCaa59dv2tf5aJwvU85QPSbERoLLITTZjeEQ9VAJIxkJqVbnYne3XuWJkmKHGNAjL YXJxNRd/twu7h364LtI4OrgMhdkaPo0fdlpP1ax5pPbsr35F8MQwP/UksjV7IkGQAO3O usYz7W00bqcpS3fMw4tUo83ClYnyEJ3KiaEtFvts+p8rIWNZSbq1FW79iOf4ewbtIkVO 4Pew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=Ntxnvqwm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u23-20020a1709060b1700b00702d7a823casi8928039ejg.317.2022.06.26.20.58.48; Sun, 26 Jun 2022 20:59:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=Ntxnvqwm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbiF0Deh (ORCPT + 99 others); Sun, 26 Jun 2022 23:34:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbiF0Deg (ORCPT ); Sun, 26 Jun 2022 23:34:36 -0400 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C6D738AF for ; Sun, 26 Jun 2022 20:34:35 -0700 (PDT) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-2ef5380669cso72985517b3.9 for ; Sun, 26 Jun 2022 20:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=udYx9yVhBp19zfd4dxd6NWb/kHxWi5c9y7nXzGrjJEY=; b=Ntxnvqwm+4atSA7oH8HbS0qWbiyLl9hwKQPjhaoe5CikG0EkSFeR0jzF9Fwgs89O4j ozapg21g9OejXt5DBNn8WHlCY7d3wYaGk6oVysdhLX5uDoB0lr4Yj2j5BFkI8663a8CI vEn9f5StKVKnsH4GCtCWGuUIEclxpY7VETIg4LAbikp2xJIoxYRU/G60aZC+L5uz0YMX gAFxNaaPYcAbhKgIJuuMQXi6TMfdYpZvDjd1AL92PLhymq6SZ1HHzQqn1/sc6ctNL/67 0YEX5l2JvW2MC4YiaTeERP3HtTy2l0iDOGc3MhIAtFpGeaEHSo0XcpN+idqgqzAYWKXG v33w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=udYx9yVhBp19zfd4dxd6NWb/kHxWi5c9y7nXzGrjJEY=; b=rzpdiU6lvetMV2SELoDRP2JTjgYOqRUv4wYjUedVMwLrBKxaU6auxG+2WWc99qWpu4 fXL2mS9kH1kaU0d7bvfEoXT7rYKz+opDh3InFm1sVHYPdly8tFl0xWQd1qVqvBG05Qcq RP3czylXHPtD6FtTQvc79K9vL/dEjH80fMNp8rgONkNVHWy1PBJQxBT9i0LZ/A2pVKMM PQqaTxORajCiBgkgsJ5zV/fmD4gVKKHNsVVq/klXIOG4AGUQNFxWT731kxdOYioZJI7D 4H1434hS0SrQ2C9gqjXin76iyqwe5Pp+tbvsuj33nM1j1DjDLIHC4vFbKWCng5L6kHli RffQ== X-Gm-Message-State: AJIora8WihDgH/ANYfCGWKOWU3b7ibCEt6brNgX0XqCnw5RUCwMb3LLb 48m9P0XpcB6UvI1r10/uloUlMq8hF23fevJZC4aFf34dR1olXzIo X-Received: by 2002:a81:5e42:0:b0:31b:6254:1c2b with SMTP id s63-20020a815e42000000b0031b62541c2bmr13394314ywb.35.1656300874622; Sun, 26 Jun 2022 20:34:34 -0700 (PDT) MIME-Version: 1.0 References: <186d5b5b-a082-3814-9963-bf57dfe08511@openvz.org> In-Reply-To: From: Muchun Song Date: Mon, 27 Jun 2022 11:33:58 +0800 Message-ID: Subject: Re: [PATCH cgroup] cgroup: set the correct return code if hierarchy limits are reached To: Vasily Averin Cc: Shakeel Butt , Roman Gushchin , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Michal Hocko , Tejun Heo , Zefan Li , Johannes Weiner , kernel@openvz.org, LKML , Andrew Morton , Linux Memory Management List , Vlastimil Babka , Cgroups Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 27, 2022 at 10:12 AM Vasily Averin wrote: > > When cgroup_mkdir reaches the limits of the cgroup hierarchy, it should > not return -EAGAIN, but instead react similarly to reaching the global > limit. > > Signed-off-by: Vasily Averin Reviewed-by: Muchun Song Thanks.