Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp548164pxj; Thu, 27 May 2021 06:28:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIjweqh/h4+2o9ZEjRxoV1ilxKR6cACOMMyJ/LsGeRdpIkwQ5f6eoPZH5dYSFO0qAihsPW X-Received: by 2002:a17:906:bc43:: with SMTP id s3mr3868526ejv.76.1622122126901; Thu, 27 May 2021 06:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622122126; cv=none; d=google.com; s=arc-20160816; b=mG3iXCxmo/DW4nw8iZvV6iOTnZuZWFfvGO4BlCN4OeNeSl2MtURyvS8QZvwEyVg1Ci YAl1QgWv0nFTZzcmIhku4DTAzs+yotQ4u6sCVsFKqtxCH823t2ZHeMQI+0kmgRlqdv5y ANCAT2dPLCWI5w4DZTRSspLQyCXyfqVXY5iHAPoDqTMDtUNe8kRH1QAZdG2W9PW26GFY ydu+hjuWVVn1MvTmf0ugj+mEXk6+b+plwao89Uy1ohnEKAmDojvFGIjJO09VRr7Lrmi1 9isHjhQy5q3zvm9eVTfpaolHScJ5g0llDru5vLGHF8GhjRrAmWCEkbzyPyka3HcW7CjP FlyA== 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=bTuXJyS12cv4LuTitjmTblp9RTdGyOUhTUwwFkRbaxo=; b=KRJcmHKF0GNHlWU91fQj8E5IDom2pclZXBynEMsId06AXvotrSBfwJl+vskiF+8lgX XtD0HgBC06U7xnFbUxuJbxyWODU33g4xL1fcAqCEQz/iSyNvjG4YyGe/a38k9nItO8Jx 3uJYQMCD/lNNSAQTGuLph48BQrYa7ffmvGvE99kGYYVb3hX7DV2K7yAyLNGR9ugQpQJ+ GIwupCTKxhHFWUTPfBJSDgN7i63yppkur1eC7EVKSQVuXXZMFKovjKgMRtT27IB3ZHFF 2d/x+d2gP6ZaD1xSzP8qJJ+aspO7hPhU9vkFfdH+JYnnnjJzmmQ2BfFE/I6d8zAwA/YS /tTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AJ+au7Zh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si2161804eja.616.2021.05.27.06.28.18; Thu, 27 May 2021 06:28:46 -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; dkim=pass header.i=@linaro.org header.s=google header.b=AJ+au7Zh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236348AbhE0N2s (ORCPT + 99 others); Thu, 27 May 2021 09:28:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236115AbhE0N2r (ORCPT ); Thu, 27 May 2021 09:28:47 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60BFAC061574 for ; Thu, 27 May 2021 06:27:14 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id v8so75663lft.8 for ; Thu, 27 May 2021 06:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bTuXJyS12cv4LuTitjmTblp9RTdGyOUhTUwwFkRbaxo=; b=AJ+au7Zh1JItYixxt8CVmhgXABNB1TBRD96nwd7v6HIk1hbvij2qP1pFVm9dQW94jL Ad4wt4EC6yIDuNF2XfRni4y26vgHLi65VqXMa4kw441X2uCb4/6NedBIi3R6UE6Dr0YQ i+DlbxK8dr8MslOOX4NfU1BnxVFRhhBcsgOFWiEyfygr8sK/0z+mfC5EfF0XpIUfbawa Y0CpFg3fi7lYBHz33pW2EHxumsJmH0cpyQXLZzzKmHR6cTE+Z0LBDAaT7eiEurMfzb9v lyzhV+WJ7fs0QfPh61Ug1KgIY4TYCAC++mEeYY8riXoNo20IO1NSnkT32rBzwsgu1QJO Y/eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bTuXJyS12cv4LuTitjmTblp9RTdGyOUhTUwwFkRbaxo=; b=Clh/txCU/N0c0jxuZA6HvDCESlz42O1T04EavR7lzUqI8TGzrvGRiPxSb7oA4si2TI uZj7mDCYF3QMXQZvPp+n1ucZvgoXEb3x44c4eeYmP7rcGzSHL8REMr5DfRSxU7wFbdBW 4WQqcpoCjLyzCazIaI/aC1+0qHYnig8BxHWW/bPstH8D+bWTKTy74K+XXKFGVjDOk2BB Yn3lC7rxDVabpNXUgj7wdaOrlwwM+C174gdU+N7mj8ibuOtQSSs8IXeKayiI1CMbf0AZ +JuQSwhBypnJWdkbe736CgO2KZmeztjrLJjApwVU0od5W1QYMXDlSj12j/LfSjJ4j/CZ hgJA== X-Gm-Message-State: AOAM530HBWyPli/pgLYsrW92aSj/+5pMXujstp0tj65uHNATKPAKz4DJ JloaQKP0dG5A67MCE/a9s9rBz7NA2U4neLE1QcfmkQ== X-Received: by 2002:a05:6512:2205:: with SMTP id h5mr2440251lfu.233.1622122032719; Thu, 27 May 2021 06:27:12 -0700 (PDT) MIME-Version: 1.0 References: <20210518125202.78658-1-odin@uged.al> <20210518125202.78658-4-odin@uged.al> In-Reply-To: <20210518125202.78658-4-odin@uged.al> From: Vincent Guittot Date: Thu, 27 May 2021 15:27:01 +0200 Message-ID: Subject: Re: [PATCH 3/3] sched/fair: Fix ascii art by relpacing tabs To: Odin Ugedal Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , "open list:CONTROL GROUP (CGROUP)" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 May 2021 at 14:55, Odin Ugedal wrote: > > When using something other than 8 spaces per tab, this ascii art > makes not sense, and the reader might end up wondering what this > advanced equation "is". Documentation/process/coding-style.rst says to use 8 characters for tab so we should not really consider other tab value That being said the numerators and other parts of the equation use spaces whereas denominators use tabs. so using space everywhere looks good for me Acked-by: Vincent Guittot > > Signed-off-by: Odin Ugedal > --- > kernel/sched/fair.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index e7423d658389..c872e38ec32b 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -3142,7 +3142,7 @@ void reweight_task(struct task_struct *p, int prio) > * > * tg->weight * grq->load.weight > * ge->load.weight = ----------------------------- (1) > - * \Sum grq->load.weight > + * \Sum grq->load.weight > * > * Now, because computing that sum is prohibitively expensive to compute (been > * there, done that) we approximate it with this average stuff. The average > @@ -3156,7 +3156,7 @@ void reweight_task(struct task_struct *p, int prio) > * > * tg->weight * grq->avg.load_avg > * ge->load.weight = ------------------------------ (3) > - * tg->load_avg > + * tg->load_avg > * > * Where: tg->load_avg ~= \Sum grq->avg.load_avg > * > @@ -3172,7 +3172,7 @@ void reweight_task(struct task_struct *p, int prio) > * > * tg->weight * grq->load.weight > * ge->load.weight = ----------------------------- = tg->weight (4) > - * grp->load.weight > + * grp->load.weight > * > * That is, the sum collapses because all other CPUs are idle; the UP scenario. > * > @@ -3191,7 +3191,7 @@ void reweight_task(struct task_struct *p, int prio) > * > * tg->weight * grq->load.weight > * ge->load.weight = ----------------------------- (6) > - * tg_load_avg' > + * tg_load_avg' > * > * Where: > * > -- > 2.31.1 >