Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4142703pxb; Sun, 24 Oct 2021 21:11:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaO8YxHO2WrPGRrE+QZhjDxqEkcPhXlm/La6WkNmCNp6nzLpyLCjP0BtDKtmf9ABTG5svZ X-Received: by 2002:a05:6402:84a:: with SMTP id b10mr22710119edz.257.1635135072316; Sun, 24 Oct 2021 21:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635135072; cv=none; d=google.com; s=arc-20160816; b=L3k6s8fab+ksMyR6wZsVfzp+LMLnoTjwgNlrQA1pH72aEkxxK13xN07NINvFko/HiQ OgJ30kjP8Pj48PU82a/aTSwCWHwQK9apop2CM+sc92ylQM7g+fyG++67LTAixSeuFqCR Zp1eRsFs8o1HYMV59S7Ukh6QQhYn0aRzQZ+LW0iq9XTlPeQpsxKdhc1cVaL3rZ09wD3k 8A2fu3zqbV7J1ttRkATBK6QzBfd9WWBpq/r2tRJn45xyPFBRWWjPacqiFU3gnFUXbRt+ wM5WPLfqcODDwr0LooDdDVEV4vbTyYN6dyCmc5JKjBRiqHrAh47CPQ84ghhjNu74zYQg u6Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:sender :hmm_source_type:hmm_attache_num:hmm_source_ip; bh=iuxBf94VAVXcJNK9mUHVxnaV7gQ42N/9nzcwwpW1YEA=; b=Zs/FR6nbcxjNmUm3wztIPcof1jN4nseNeeTLt2ofWiNV9pnup871OAD6VXjONvELI7 yqKPBz+nZwZdGllO6zhvGFzXEi+atWk1+9XYL6jVLzLBuLo5kjZYaUC4VVb4gNdm8f8o gRdlTnSRpXYMwIk/jcxPgIUwRd5F9gP4Z/E89tC7dJl7fXbHuMrSBviV4nsnZckeac7p QMXffckH0HebMY3rKEpoI+xpdbXCA6wddqob01Zj722fNhITyGqs+BQsnutAluyq/Cwv IBPg2ufIbM1psT+cdWIXwKeOG5ibtMaWkjV5OAADnPhmh4IZkeSs9qNF+hkrfqJPD4Jh W0Tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id vp11si5931778ejb.477.2021.10.24.21.10.49; Sun, 24 Oct 2021 21:11:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232268AbhJYD5X (ORCPT + 99 others); Sun, 24 Oct 2021 23:57:23 -0400 Received: from prt-mail.chinatelecom.cn ([42.123.76.228]:50821 "EHLO chinatelecom.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232169AbhJYD5W (ORCPT ); Sun, 24 Oct 2021 23:57:22 -0400 HMM_SOURCE_IP: 172.18.0.48:38176.619599683 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-10.133.11.244 (unknown [172.18.0.48]) by chinatelecom.cn (HERMES) with SMTP id 5D8D42800DA; Mon, 25 Oct 2021 11:46:33 +0800 (CST) X-189-SAVE-TO-SEND: +liuxp11@chinatelecom.cn Received: from ([172.18.0.48]) by app0024 with ESMTP id 2644b3ac7a5f4906bc4966b328380019 for linux-kernel@vger.kernel.org; Mon, 25 Oct 2021 11:46:39 CST X-Transaction-ID: 2644b3ac7a5f4906bc4966b328380019 X-Real-From: liuxp11@chinatelecom.cn X-Receive-IP: 172.18.0.48 Sender: liuxp11@chinatelecom.cn From: Liu Xinpeng To: linux-kernel@vger.kernel.org Cc: hannes@cmpxchg.org, mingo@redhat.com, juri.lelli@redhat.com, zhouchengming@bytedance.com, Liu Xinpeng Subject: [PATCH 1/2] psi: Remove repeated verbose comment Date: Mon, 25 Oct 2021 11:46:25 +0800 Message-Id: <1635133586-84611-1-git-send-email-liuxp11@chinatelecom.cn> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Comment in function psi_task_switch,there are two same lines. ... * runtime state, the cgroup that contains both tasks * runtime state, the cgroup that contains both tasks ... Signed-off-by: Liu Xinpeng --- kernel/sched/psi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/psi.c b/kernel/sched/psi.c index 1652f2b..526af84 100644 --- a/kernel/sched/psi.c +++ b/kernel/sched/psi.c @@ -833,7 +833,6 @@ void psi_task_switch(struct task_struct *prev, struct task_struct *next, /* * When switching between tasks that have an identical * runtime state, the cgroup that contains both tasks - * runtime state, the cgroup that contains both tasks * we reach the first common ancestor. Iterate @next's * ancestors only until we encounter @prev's ONCPU. */ -- 1.8.3.1