From patchwork Thu Jul 13 11:59:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 119836 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1793155vqm; Thu, 13 Jul 2023 05:38:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlGGDGwjmS8KbJg1oOw3KAW07jp22uyAZ5V+AzIMb9rPcyz2okyrPnHS+U862eO25eQI2UPa X-Received: by 2002:a17:906:151:b0:993:ea6b:edf6 with SMTP id 17-20020a170906015100b00993ea6bedf6mr1343743ejh.0.1689251923229; Thu, 13 Jul 2023 05:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689251923; cv=none; d=google.com; s=arc-20160816; b=EhuLBkqjzgDvo3gBoQfPLneu6p4A1sR9TJUOZJYRLuzz7XV6+j5zQzVTkRRiYkxJKP e5RpxKIcQG67SricxCinxSsfByzvFIM5Zr6JhTOGub9OSXrvz5EwnoRYimCgBRYG9CRy /U1b3XomDt1WA2ZhbPRsBWpMfRzbQnl6d+y0wVTbOCG2CAkPve9z5nuFYxlewJTKTaAL WSBno0WA5i0vmpUQpSnf10xNIQMy5l/imf506JDrIxg0V1eDCHHmLGDMenFypekMGZCY LMq62mfnlxPQqk0YOmLwG/XMMKPp3ms4znBa8OLGFiO/mww8GQfxr9XQa2d+X+KJnlZZ Y7Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=lLC2+btqlDel0mpGNxQTgyNeTmQzBkCo5Q6aYcl/md4=; fh=pZWOv2pRkfQFUJ1QSi9xw43l3YtSwTmReJZNUnZfmEA=; b=dM9N7rWbVYnvlk6+tCPU2dfA/nniLBRkJY/vCIEvjZcOnJjgHU09GpNuC9KNVUnt+b FakUlaLEjqQd4+r5rY/pPBKnQrs4I1wfkJeY471puJu/cQxytNno1sJfcmW0GJ2p2Iys JAA4MT0CunKK0etT9VIxUjwauKX2dwoli3J8IdRZkFhL3duMmZvSeBnWW4Q55DD0jF83 PJ98Wu4yPsbJTXiFOvQRCGnPKkGlgIySqYBl2ASTArz+2Mk8UEyWTg7G1l7oi7anzT6W O4c/yd1OiLGkoncRcNgLbj6Pr0AgR6Zypq7MTyhjldDenu6NtvZzZkQWJDvUBz2Zrkiz ZDKw== ARC-Authentication-Results: i=1; mx.google.com; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga4-20020a170906b84400b00992e8bcf7fesi6884032ejb.721.2023.07.13.05.38.18; Thu, 13 Jul 2023 05:38:43 -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; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234521AbjGML7f (ORCPT + 99 others); Thu, 13 Jul 2023 07:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234486AbjGML73 (ORCPT ); Thu, 13 Jul 2023 07:59:29 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 674DC1993; Thu, 13 Jul 2023 04:59:28 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4R1tRs6fNDz18Lrv; Thu, 13 Jul 2023 19:58:49 +0800 (CST) Received: from huawei.com (10.174.151.185) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 13 Jul 2023 19:59:25 +0800 From: Miaohe Lin To: , , CC: , , Subject: [PATCH] cgroup: remove obsolete comment above struct cgroupstats Date: Thu, 13 Jul 2023 19:59:38 +0800 Message-ID: <20230713115938.177428-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771309024443975680 X-GMAIL-MSGID: 1771309024443975680 There's no flag in the delay accounting structure indicates that the task is waiting on IO since commit 1193829da1a6 ("delayacct: cleanup flags in struct task_delay_info and functions use it"). So remove the comment. Signed-off-by: Miaohe Lin --- include/uapi/linux/cgroupstats.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/uapi/linux/cgroupstats.h b/include/uapi/linux/cgroupstats.h index aa306e4cd6c1..80b2c8594480 100644 --- a/include/uapi/linux/cgroupstats.h +++ b/include/uapi/linux/cgroupstats.h @@ -24,8 +24,6 @@ * basis. This data is shared using taskstats. * * Most of these states are derived by looking at the task->state value - * For the nr_io_wait state, a flag in the delay accounting structure - * indicates that the task is waiting on IO * * Each member is aligned to a 8 byte boundary. */