Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp351872pxu; Thu, 3 Dec 2020 01:46:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXYlwZZ8B92eae30Bt6rxpxQRsp3jUKTi3tgpE3c22/we7v58DSxE5r13cJJBnf0ZtadcL X-Received: by 2002:aa7:d75a:: with SMTP id a26mr1999791eds.230.1606988794109; Thu, 03 Dec 2020 01:46:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606988794; cv=none; d=google.com; s=arc-20160816; b=oBzo9nKB/Kyu6w3oPPXAeblwwQ0UUKlR+c/GuFtJyaiKvD//vM9Ao2BXxMMrnygJFn 3xguGpO7RMvF9KINoHNHOiu1XHy0Ky3sfJWhRS8a02wr3QT0KfIWYoQzQq648abYwhlg GM2RdEfoT8Jpq3Quwz6fAdLJYOKskf7xxyBizrNVRMBQtK5uu9cxxdt5Mh7XI0KJhket JLjvQ5LnTT++ZFBIU6HQF8G52hmCakQ1QuE4rVBwtCqHhD8G7+rSo6wq9h7cuOSu37Dw QyRsvZp+nSdSiI8Oqz038D4eGQtm9RF9oz/8ro3Kj7pbJi0MFCu8oU5aZHVQ7JnLn+15 xpNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=YLLYRVlvFUu6zFwG3kmkrGRLjoHKpOGrRKsDSNf8AmA=; b=gAawGWILz4qv7kA2TJURAvJx8Me4U8Tr4GdYWifqR4eyZK0fZIF2fVsylAe7gc5T5Q tTbLAo2QJ0IRYpONcvdvkrzVvIyCxCHTkx+uVfBswFGJleWFWfZCc7s7XbV+jFI+hoa4 b9Lr9b6XobeRNzLO4CHSyHspVgv5Tsxa5MI6hU3RBMLdBamVNiQWjQT3M9eSxOinFUkC EDuwKsdFbXMU+WD+E9Q/ttJG6n4zaTsYUNGpQUuHogTQieDe+0QaQmtDE/rdMqBnRkq4 E2I67HcCLCcFDKuMh5B23g3QzreFXzikIsZ1VCwUehgcJ4AEAM3SFUomIG7io0Wu8Usw 1r+w== 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 rp28si764554ejb.10.2020.12.03.01.46.10; Thu, 03 Dec 2020 01:46:34 -0800 (PST) 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 S1728436AbgLCJnU (ORCPT + 99 others); Thu, 3 Dec 2020 04:43:20 -0500 Received: from mx2.suse.de ([195.135.220.15]:48030 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbgLCJnU (ORCPT ); Thu, 3 Dec 2020 04:43:20 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5ABD1AC2E; Thu, 3 Dec 2020 09:42:39 +0000 (UTC) Date: Thu, 3 Dec 2020 09:42:37 +0000 From: Mel Gorman To: Yunfeng Ye Cc: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, linux-kernel@vger.kernel.org, Shiyuan Hu , Hewenliang Subject: Re: [PATCH 2/2] sched: Split the function show_schedstat() Message-ID: <20201203094237.GD3306@suse.de> References: <66f73a23-a273-7dff-4202-adc61c3152c8@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 02:47:14PM +0800, Yunfeng Ye wrote: > The schedstat include runqueue-specific stats and domain-specific stats, > so split it into two functions, show_rqstat() and show_domainstat(). > > No functional changes. > > Signed-off-by: Yunfeng Ye Why? I could understand if there was a follow-up patch that adjusted some subset or there was a difference in checking for schedstat_enabled, locking or inserting new schedstat information. This can happen in the general case when the end result is easier to review here it seems to be just moving code around. -- Mel Gorman SUSE Labs