Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp566567imn; Fri, 29 Jul 2022 16:08:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sNHxfy0bFGLrMFirIN+4YRJM8ijDVFBZwbHgYaYTPE+3FzNH+oiZ13THNtccxu5h0UqtYn X-Received: by 2002:a17:907:6ea7:b0:72f:2cf2:9aef with SMTP id sh39-20020a1709076ea700b0072f2cf29aefmr4361713ejc.215.1659136106690; Fri, 29 Jul 2022 16:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659136106; cv=none; d=google.com; s=arc-20160816; b=l9Jlt9umnsgkkGGeQ7HJzkWlXek8KX3/uW55qgZlYn34595snmXKcAsDdVDFaCIJE5 xN2sSIgRl30Rc2Han+OwOdo3r7l56ag56E1hQauXj4Q44XEg64uLiyO4JPelZotXkW26 cL7aYXMx3WO0/8mJjxC29y8GU7Mh5vJPl6f+hWGB+VXk3tkKEnump+NRWh9ltMPA+mnJ 91/dLUH+TD6Dgw2WNHxD7X1PBftaFM7wtIpdAq04OoCzCLREf/zQ2kbSMUTrpHcXT7Rg UjBM1RZcavCnekjIl2CvGTEX30P7cFIpYn15xUzyBf8Nh+np3FCUv+khfyr0hpeZaKNr +DDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=yzM0hFgBu1xt2XGwoIjXneNwzi+RimX6tpHZJOB2AP0=; b=Or4iWAlvw8wc6gG7fJVjpIZCRuS1OjLkZqxdMIhzcP6a2HXwAphGn7g4vaA9otBt0C W4oY/Kzo9+eh0rtZN+Wmj/uzuX24zQsZwJx5+zcDVNWwvKjdpAKLc3WxipOKaLBb9cFS EjQMAwswvUSIfte5Rh8fDPR+3hu7BoY8+HRTcc6AT+2lFBQ6K25NEyFKL4Ia1slqUml0 q7Sgq/a1sT3FqCvVyX+EO8ev+LXRKGpmqi2ryC3rS6fKW/JkVCchsT7KyJ57ne4L11VW 116mFPCye8lfLZr+mkstXB3Khw0YTUFmjp06CxqtH1lCvo6YFJl0DzVdvdU/DhcFAdcR PGUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ir7GiNB0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a1709065d0700b0072b5acf30f9si68813ejt.157.2022.07.29.16.08.02; Fri, 29 Jul 2022 16:08:26 -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=@gmail.com header.s=20210112 header.b=ir7GiNB0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239596AbiG2XCd (ORCPT + 99 others); Fri, 29 Jul 2022 19:02:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232317AbiG2XCa (ORCPT ); Fri, 29 Jul 2022 19:02:30 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F38987215; Fri, 29 Jul 2022 16:02:29 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id p8so5771370plq.13; Fri, 29 Jul 2022 16:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc; bh=yzM0hFgBu1xt2XGwoIjXneNwzi+RimX6tpHZJOB2AP0=; b=ir7GiNB0OtmgqVQSXzwqVX4judqnkcrnIfnBM7W7//ath+Cf1M9QQr/nih9LwFKQhd Xa4dOdcLKH8PZYbt4jwaD8IxZge85e0vQBo1HoGBeCy0J7BiW1VeySTnbOVYrkoKX+6A 7+0JYNE4fig26gCwwxYFXn+qMSK1nzbz0xe2LB7wSIoSRGW9ueeAsfCfUhormv1+RLqo LswZMbiHTtZQuUUrL7PB4EvbYbY9X5obMCdQfUCL2+toUnPip+XOfakHrnwvbAiZL2Ix Urh2Os7d4+lQrYQRdzS0KgOU/Ic+0mJ2o30wS16tCE9fM1uwsSN6rTl+ps9VgczAo/2l gTAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc; bh=yzM0hFgBu1xt2XGwoIjXneNwzi+RimX6tpHZJOB2AP0=; b=tPOfFVIDBBaHaqPRIH3ccp3GyIs4XOfC0lfewCpQ/OP60OV4BAAsC/dXaHxeWtb2La HA4aVB6Wu55QXYf418BqNUQBBbYr3Kx7D6XZGrfz5HMVxbGflB4pfc001EuS7JVMfQC5 cXFq5z8LSXUL6kWDc/zFJa+TC+8LvogvSa2I4SLmQInIjzZNvFKjSFuMyUILQePp25P8 eXNXiaogy0ydo6TmzySovMMxJRrjiQUrDwjJrhpVyh6IcJ2XPpU3Ab49nEnvegO99Izm jYEh9MzOWpe/tBGEVu8oTowqRVs351oS8AhgYVAFCxGKVD4QmmlZXw5RYNhr929Qweqi 22/A== X-Gm-Message-State: ACgBeo3w/7bSJd5nC0TEzv7Bb4qNyMArAREV1eRQHAG4W3bfJoUPFvZb mYAyzWuU25hKfT2e/Ish4eU= X-Received: by 2002:a17:903:1110:b0:16b:6968:1d08 with SMTP id n16-20020a170903111000b0016b69681d08mr5994440plh.3.1659135748891; Fri, 29 Jul 2022 16:02:28 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::5:df80]) by smtp.gmail.com with ESMTPSA id x11-20020a1709028ecb00b0016c38eb1f3asm4097730plo.214.2022.07.29.16.02.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 16:02:13 -0700 (PDT) Sender: Tejun Heo Date: Fri, 29 Jul 2022 13:02:10 -1000 From: Tejun Heo To: Michal =?iso-8859-1?Q?Koutn=FD?= Cc: cgroups@vger.kernel.org, Zefan Li , Christian Brauner , linux-kernel@vger.kernel.org, kernel-team@fb.com, Namhyung Kim , Pablo Neira Ayuso Subject: Re: [PATCH v2 cgroup/for-5.20] cgroup: Replace cgroup->ancestor_ids[] with ->ancestors[] Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no 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 Sat, Jul 30, 2022 at 12:42:09AM +0200, Michal Koutn? wrote: > On Fri, Jul 29, 2022 at 10:58:22AM -1000, Tejun Heo wrote: > > @@ -520,8 +520,8 @@ struct cgroup_root { > > /* The root cgroup. Root is destroyed on its release. */ > > struct cgroup cgrp; > > > > - /* for cgrp->ancestor_ids[0] */ > > - u64 cgrp_ancestor_id_storage; > > + /* for cgrp->ancestors[0] */ > > + u64 cgrp_ancestor_storage; > > Just noticed, this member is (and was AFAICS) superfluous. I should have changed the type to struct cgroup * but that's the space into which cgroup_root->cgrp->ancestors[] stretch into. Thanks. -- tejun