From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbdFHJfv (ORCPT ); Thu, 8 Jun 2017 05:35:51 -0400 Received: from terminus.zytor.com ([65.50.211.136]:59863 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750752AbdFHJft (ORCPT ); Thu, 8 Jun 2017 05:35:49 -0400 Date: Thu, 8 Jun 2017 02:29:47 -0700 From: tip-bot for Daniel Bristot de Oliveira Message-ID: Cc: hpa@zytor.com, torvalds@linux-foundation.org, tommaso.cucinotta@sssup.it, linux-kernel@vger.kernel.org, juri.lelli@arm.com, luca.abeni@santannapisa.it, romulo.deoliveira@ufsc.br, mingo@kernel.org, efault@gmx.de, peterz@infradead.org, xpang@redhat.com, rostedt@goodmis.org, bristot@redhat.com, tglx@linutronix.de Reply-To: mingo@kernel.org, romulo.deoliveira@ufsc.br, tglx@linutronix.de, bristot@redhat.com, rostedt@goodmis.org, xpang@redhat.com, peterz@infradead.org, efault@gmx.de, linux-kernel@vger.kernel.org, tommaso.cucinotta@sssup.it, torvalds@linux-foundation.org, hpa@zytor.com, luca.abeni@santannapisa.it, juri.lelli@arm.com In-Reply-To: <8d05f1ccfd02da1a11bda62494d98f5456c1469a.1495803804.git.bristot@redhat.com> References: <8d05f1ccfd02da1a11bda62494d98f5456c1469a.1495803804.git.bristot@redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:sched/core] sched/deadline: Fix dl_bw comment Git-Commit-ID: 54d6d3039e2d84b6fbfbe59ec57d856371edf0a2 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 54d6d3039e2d84b6fbfbe59ec57d856371edf0a2 Gitweb: http://git.kernel.org/tip/54d6d3039e2d84b6fbfbe59ec57d856371edf0a2 Author: Daniel Bristot de Oliveira AuthorDate: Mon, 29 May 2017 16:24:02 +0200 Committer: Ingo Molnar CommitDate: Thu, 8 Jun 2017 10:32:00 +0200 sched/deadline: Fix dl_bw comment The sched_dl_entity's dl_bw variable stores the utilization (dl_runtime / dl_period) of a task, not its density (dl_runtime / dl_deadline), as the comment says. Signed-off-by: Daniel Bristot de Oliveira Signed-off-by: Peter Zijlstra (Intel) Cc: Juri Lelli Cc: Linus Torvalds Cc: Luca Abeni Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Romulo Silva de Oliveira Cc: Steven Rostedt Cc: Thomas Gleixner Cc: Tommaso Cucinotta Cc: Xunlei Pang Link: http://lkml.kernel.org/r/8d05f1ccfd02da1a11bda62494d98f5456c1469a.1495803804.git.bristot@redhat.com Signed-off-by: Ingo Molnar --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index f1ead2e..3113c82 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -421,7 +421,7 @@ struct sched_dl_entity { u64 dl_runtime; /* Maximum runtime for each instance */ u64 dl_deadline; /* Relative deadline of each instance */ u64 dl_period; /* Separation of two instances (period) */ - u64 dl_bw; /* dl_runtime / dl_deadline */ + u64 dl_bw; /* dl_runtime / dl_period */ /* * Actual scheduling parameters. Initialized with the values above,