From nobody Sat Nov 30 10:44:07 2024 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FF2718FDC1; Tue, 10 Sep 2024 08:09:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725955771; cv=none; b=SQVWmpumM3P8PNFiE5plXBQRU1zZlX/sQvUZyI4Csq2eRLTdqO94UATS6Ke+tYcwzAfdr1Zai7Xv1WhxDa9aZH5WxkUk14zPCXuvNgCsMlDCtwZfrroGWtVDX2UNpiT2wvbk8MfW1gf+d8/OCLkhcBP11nXxFmR7LDYth9SpF0U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725955771; c=relaxed/simple; bh=ey8hHvc1fxDs7TrfFLZDsEexrUc6x5c2zH7RBbGDYe8=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=N0MFzGY2anN0jXBAtAj+fIotMFNiYyCsLuTJde8XDdFS5LPGViNqXfJ3TUAzHir8c+VJZTo3jV/kAZmNCD7FIG7MswjeiiIwOF2hxnD62YOQMhsPdCRF2QHs5ycqQEBp/31ahrOijqvFlfANhXTZDycxHKxAF6WtwT14h4yQW8Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ugsVcMBN; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=tJBQqwDo; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ugsVcMBN"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="tJBQqwDo" Date: Tue, 10 Sep 2024 08:09:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1725955761; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vnf4/CH50+gznD7jGowk6vz7cOa1sDgl/jSHC8wroZ4=; b=ugsVcMBNALK0ybNmqCKrPCu+iLILIWx0Tj+b2pjv7X4uj83JpKEsx8rnGJiycqaYcIrXba vVWIw369eQS2gwgTzIGCqEv4D6MYWY3df17NGlhrkcKbulFqqdkvy+2GdGHHnodY97dP1b veI06p4/W9IecEgHX0GjXJ1PAzwNey2eXzaQICsfmS6nChjdkDPQIZmGV7eDzYpUT1MIUh 0l+ObIIkqNwFLp/jgoxYBrHICt+WM2a0wVv2sDlO7KgEuyCZS13ffJA+0pZNuRTTcapHEx l/WQPpBPAVShuk5NhMyE7UIQDZmFaDdFxtluSNU0+uMehgxyc/0cM/RfKXaZJg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1725955761; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vnf4/CH50+gznD7jGowk6vz7cOa1sDgl/jSHC8wroZ4=; b=tJBQqwDoAShuRaHtbfuuYOpzyAPzYrDzAQo459YHRr/nRLt6BCU/SeASbI744HS+dP9K3g BRfGUnPj8mFnTXBw== From: "tip-bot2 for Christian Loehle" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/cpufreq: Use NSEC_PER_MSEC for deadline task Cc: Christian Loehle , "Peter Zijlstra (Intel)" , Vincent Guittot , Juri Lelli , "Rafael J. Wysocki" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240813144348.1180344-5-christian.loehle@arm.com> References: <20240813144348.1180344-5-christian.loehle@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <172595576093.2215.291368724489277408.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the sched/core branch of tip: Commit-ID: 6cbbb91711c6b17da3802a3cf072d3311828ca33 Gitweb: https://git.kernel.org/tip/6cbbb91711c6b17da3802a3cf072d3311= 828ca33 Author: Christian Loehle AuthorDate: Tue, 13 Aug 2024 15:43:48 +01:00 Committer: Peter Zijlstra CommitterDate: Tue, 10 Sep 2024 09:51:16 +02:00 sched/cpufreq: Use NSEC_PER_MSEC for deadline task Convert the sugov deadline task attributes to use the available definitions to make them more readable. No functional change. Signed-off-by: Christian Loehle Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Vincent Guittot Acked-by: Juri Lelli Acked-by: Rafael J. Wysocki Link: https://lore.kernel.org/r/20240813144348.1180344-5-christian.loehle@a= rm.com --- kernel/sched/cpufreq_schedutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedu= til.c index eece624..43111a5 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -654,9 +654,9 @@ static int sugov_kthread_create(struct sugov_policy *sg= _policy) * Fake (unused) bandwidth; workaround to "fix" * priority inheritance. */ - .sched_runtime =3D 1000000, - .sched_deadline =3D 10000000, - .sched_period =3D 10000000, + .sched_runtime =3D NSEC_PER_MSEC, + .sched_deadline =3D 10 * NSEC_PER_MSEC, + .sched_period =3D 10 * NSEC_PER_MSEC, }; struct cpufreq_policy *policy =3D sg_policy->policy; int ret;