From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751081AbdE2OYU (ORCPT ); Mon, 29 May 2017 10:24:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39118 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbdE2OYT (ORCPT ); Mon, 29 May 2017 10:24:19 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A3B7DC057FA7 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bristot@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com A3B7DC057FA7 From: Daniel Bristot de Oliveira To: linux-kernel@vger.kernel.org Cc: Xunlei Pang , Ingo Molnar , Peter Zijlstra , Juri Lelli , Steven Rostedt , Luca Abeni , Tommaso Cucinotta , Romulo Silva de Oliveira Subject: [PATCH V2 0/2] sched/deadline: Revised wakeup for suspending constrained dl tasks Date: Mon, 29 May 2017 16:24:01 +0200 Message-Id: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 29 May 2017 14:24:18 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here is the new version of the patch. Changes from RFC: - dl_runtime and dl_deadline don't get updated that often, so save the task's density in a new variable (dl_density) in the sched_dl_entity, avoiding a division in the wakeup path. (Steven Rostedt & Juri Lelli) - Added a patch fixing the comment of the variable dl_bw in the sched_dl_entity. - Comment fixes (Peter Zijlstra): - Reference the correct dependency (s/edf5835/df8eac8cafce/). - Better explanation of the problem and solution. - Fixes the laxity check: Use WARN_ON and change the check to one that actually works :-) (Peter Zijlstra). - Adjust the alignment in the unlikely() in the function (Peter Zijlstra). Daniel Bristot de Oliveira (2): sched/deadline: Comment fix - dl_bw = dl_runtime / dl_period sched/deadline: Use the revised wakeup rule for suspending constrained dl tasks include/linux/sched.h | 3 +- kernel/sched/core.c | 2 + kernel/sched/deadline.c | 98 +++++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 91 insertions(+), 12 deletions(-) -- 2.5.5