Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3494333imm; Fri, 19 Oct 2018 11:31:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV62YFMwS+Th/dUg4u+/xZWMgMx88eMJ+65HZLZkHT9lhXpZ1xmDcKRwH9cVCCilHKo2uRJj3 X-Received: by 2002:a17:902:6b4b:: with SMTP id g11-v6mr35454092plt.34.1539973906818; Fri, 19 Oct 2018 11:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539973906; cv=none; d=google.com; s=arc-20160816; b=OHnSp992S5XuuWNBZuI2SR+fXlTuZuw4C9iusolBfWfcVA+YXQVpQRxShECLMYkczn yaOrDTMUCtpVzr4V5cdn6nXUADEMoLebKuLH17oflk+zL8s6eEcGkYk6N/rfXOpO8TmF jm14YIROleJYNK/EUOAQJc8Sxzz7ZXqT4zKtsYJ6XSRDB8lS8J2hIzTD2nrLHJramjPg JXl/3fVfaTyDywAOzIidz23qIgtyYuXSaA2O9DR7BUU+ERZXqzMZKZPSoGWTKC+li9Wp 5DlneC1io8vEjVlttKgYYUe2rtFQtED8C3BKaXqItQChSt/zLN99/PuPTmbPduwm7D0b GibQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8t9WA+vtwYEHOtSdG6iDh3KbCzULva9NgiwMtHEE5Cc=; b=Z11Seoq1g0ts5AVdvhJflLqzothm6sJtkGMaWpNWBJlwQiV+d/jmyLxSimGFtUQTyL 3lP+5uzhslsfqWYtTzmwkRSIjxKHvVRZoy+/Spb92vvpv9P6FgEyDC0beiDZanu0mDMf AP2k84vRXm18F9klMtFByCXUAL4KMOXjHqYbtfm1wyi17r2QAm1Q53//lzx1b0i8MwGl wrnlbc8MzUHfij+4StWECz2rKx5na0NpikjsgKJ/w1yaw+F8BcVUrNVCRub3PaMMWSpI dAhtGS8EN/aHUwIME8Lu6no7IMZa0fXQXhvYUGINI4MXATTybznmL/gjjYz3ON4WiARw jHVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=qgWzP8Qx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 74-v6si26568596pga.231.2018.10.19.11.31.32; Fri, 19 Oct 2018 11:31:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=qgWzP8Qx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727673AbeJTCiX (ORCPT + 99 others); Fri, 19 Oct 2018 22:38:23 -0400 Received: from merlin.infradead.org ([205.233.59.134]:46966 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727193AbeJTCiX (ORCPT ); Fri, 19 Oct 2018 22:38:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8t9WA+vtwYEHOtSdG6iDh3KbCzULva9NgiwMtHEE5Cc=; b=qgWzP8QxV7AJDvuNUhOZO0o4W I9FdzM0+9PZ295hOwFPh4QT9yc3jcmKartxY2Pq+tZRYQbRX2R5DGHasMevs4VXy6dBtnW3pCcBhy egORTbWjf0SUB4YUEpz/V9M5sydPyfoxeRZKgYFlYunASx1IMepQ0zsM41TQh4He6AA8Wh4eGW42d KGXgAoGmX0jnwAWudAbqiGrShKr2for6O+yFy+8qdfLvgT9OsIPOnbvnmCrK0zFlXfQAOw+Jfz1yd j1kd6r4rdcHda8KjMhdjiCJ7WW92u2LbgYjTgWsS80P0Iuj1AXN+BnIMQCtXJDMHKje7cA54exZN4 Xy+WqWcAg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gDZY3-0007g8-NE; Fri, 19 Oct 2018 18:31:00 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5031520296B3E; Fri, 19 Oct 2018 20:30:57 +0200 (CEST) Date: Fri, 19 Oct 2018 20:30:57 +0200 From: Peter Zijlstra To: Peng Hao Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, Peng Hao Subject: Re: [PATCH] sched/fair : modify comment of fbq_type description Message-ID: <20181019183057.GA31016@hirez.programming.kicks-ass.net> References: <1539967494-12493-1-git-send-email-penghao122@sina.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1539967494-12493-1-git-send-email-penghao122@sina.com.cn> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 19, 2018 at 12:44:54PM -0400, Peng Hao wrote: > > From: Peng Hao > > for type 'all', the comment 'there is no distinction' is vague. > make it clearer. > > Signed-off-by: Peng Hao > --- > kernel/sched/fair.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index f808ddf..3a0543f 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -8304,7 +8304,7 @@ static struct rq *find_busiest_queue(struct lb_env *env, > * We classify groups/runqueues into three groups: > * - regular: there are !numa tasks > * - remote: there are numa tasks that run on the 'wrong' node > - * - all: there is no distinction > + * - all: there are numa tasks that run on the 'right' node No, that is actively wrong. Both the previous cases inlcude that. If anything, it should be: all tasks are numa tasks and run on the 'right' node.