Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4415719pxu; Tue, 1 Dec 2020 04:34:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrBpUXt5n+xVMmotSUVHdlY88ReJJCLGCjoUvEvXJfdXK2gQp0n8QCfT4emw5OkN3zbkFK X-Received: by 2002:a50:ff0c:: with SMTP id a12mr2820320edu.79.1606826088601; Tue, 01 Dec 2020 04:34:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606826088; cv=none; d=google.com; s=arc-20160816; b=flbK7eFwQo0Lrr2WbP5+Pl/HuQ6AHUQccNruxhuKHi5WO02xvcf40/eFivNrXemu5P LE7Sax9Fwmz3x2rqesYbW84adCU7Y1FRSVz/oCq0cLg7faIVML8gpZJUHvvsk/ud7pvw KdhyXSipHPuemBbKGNTDwK7MUQoYhE4p3271FDmV5xuN3THYWoTbaWl02lsuYeXbFfR/ VBr9lTUScXjCPyl9r+2RCqS91dx/abHg1XZxbEptjSor+Iw+/S3d2ZnhAQQ0b7xWH/ZO B7ZyXndiJcOrnvmQSgxfrplFwIoJGhgaOK4MJ5TOX1RgN0tpi6KOMj4dM0rIo9nfqNi1 wArw== 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=OdX8vwDZLYCmG+c/DSC3LEtnjOtAcJFg0GbRh1FG0A8=; b=OT3zJBNeNHUl3LMFtDVjgIgvlSVb86+wZzKjeXDOTqcDafZKLKvH/r0YA5pciakdVb NRkq+AmcosOd+JXhytZr/Kip681OT2f4+0pKeGfdf2Gn6L5BdW2zGCTmV9vrn12iyY1g jwtz6Ypi9vqAyq3Ga2Ft3vd6FoHiL7FA+ZKMztzSOMjZrMa9SUYidSsR/wettE5iNNPL A7uWqPSnGmGi1lKmqZ6UOVHp7jn3FyY1IqNJh52EjuIXnmePSXs8CP2sPH9L1rk4plDi DIgZmW3RAH4NjUf6srwORp7EUGeWUuPEcJ16pBI28UUc15KZ1BbxY8J4lTh1CcycLLOk bayw== 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 j7si903630ejm.476.2020.12.01.04.34.24; Tue, 01 Dec 2020 04:34:48 -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 S1730718AbgLAM3F (ORCPT + 99 others); Tue, 1 Dec 2020 07:29:05 -0500 Received: from mx2.suse.de ([195.135.220.15]:47636 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726304AbgLAM3F (ORCPT ); Tue, 1 Dec 2020 07:29:05 -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 1B55FACC1; Tue, 1 Dec 2020 12:28:24 +0000 (UTC) Date: Tue, 1 Dec 2020 12:28:20 +0000 From: Mel Gorman To: Yafang Shao 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, qianjun.kernel@gmail.com, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Subject: Re: [PATCH 2/6] sched, fair: use __schedstat_set() in set_next_entity() Message-ID: <20201201122820.GS3306@suse.de> References: <20201201115416.26515-1-laoar.shao@gmail.com> <20201201115416.26515-3-laoar.shao@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20201201115416.26515-3-laoar.shao@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 01, 2020 at 07:54:12PM +0800, Yafang Shao wrote: > schedstat_enabled() has been already checked, so we can use > __schedstat_set() directly. > > Signed-off-by: Yafang Shao Acked-by: Mel Gorman -- Mel Gorman SUSE Labs