Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp144878imu; Wed, 7 Nov 2018 22:47:48 -0800 (PST) X-Google-Smtp-Source: AJdET5cpty6bjZW5mJSINtzC5BNrWEnI/6TEK5pGLJAA21dwpbyEIynRNTBSDUsDqhdIm9QuR8W3 X-Received: by 2002:a62:31c2:: with SMTP id x185-v6mr3418222pfx.39.1541659668245; Wed, 07 Nov 2018 22:47:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541659668; cv=none; d=google.com; s=arc-20160816; b=PkMCvwzUkx5a9EX22bf8NfPHVQM/YhtwFdPZlpcVSk1Gl3iv74MnbV3g0tRMINIlcT afcBli4r+hov1kDXg78tUzcslc0dGY81SG7IH2ccQTygAs1EH4yQ0NWUJUgDkPhJ4RtP QpX3NakHSihmtqfYZuGJvt9ZSvz1glTSeiZUTtqgfv89z33kVrLh/u1bn0HNVW/kDQO4 3n8KtVk8Il5xNvT1e7JXjFGpYiiYVryDy43rvDTkwPYZkLGstgxGLZ9HnbYe13CwhBAq 1qexg71JG37XOFdIraFg7wcVqFkEdXdlf45pyz+7lC9p0llPraXmolTCUsFs4qP/N/FM oQcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date; bh=tuoZf7xBXNsqn+KcDmjuSNwhN3u3Z64vZGan2ORJdL4=; b=O7PrmUE2zUaEhQmRwIq0fq9seVp32yu6TNHyIe1eGfJKOQ1TkaF3E2igTa+u0HwYB8 05Ul8B2aUg+nhlKi53D6uM9ASNYeOFoopAcT+XSAyTMGYA6vadPo7kcIBnpVceS5rcwX jFszTw2OTyqiK8STehFVYdjWRijlHdkOvVLj4umF9UgvktY71WmSCIdi83/ybUQOIUgC qsq2gr51QdKhffnvCoTgengyDZQsNJBYfnsWwVywyzs+SFGtKeqqvPlcRL+YWS3jfsjU EjRwwk1iM0HGzW1lf/gbN1bMHx3dhQpKtDBAZId6mdYdn/SRgOt6spZYvunmFTkuGZnF BAiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b7-v6si3085009pgn.553.2018.11.07.22.47.33; Wed, 07 Nov 2018 22:47:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726937AbeKHQU5 (ORCPT + 99 others); Thu, 8 Nov 2018 11:20:57 -0500 Received: from terminus.zytor.com ([198.137.202.136]:52203 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbeKHQU5 (ORCPT ); Thu, 8 Nov 2018 11:20:57 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id wA86jrAS1805135 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 7 Nov 2018 22:45:53 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id wA86jppg1805132; Wed, 7 Nov 2018 22:45:51 -0800 Date: Wed, 7 Nov 2018 22:45:51 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Juri Lelli Message-ID: Cc: hpa@zytor.com, mathieu.poirier@linaro.org, tglx@linutronix.de, rostedt@goodmis.org, bristot@redhat.com, claudio@evidence.eu.com, juri.lelli@redhat.com, peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, luca.abeni@santannapisa.it Reply-To: mathieu.poirier@linaro.org, hpa@zytor.com, bristot@redhat.com, rostedt@goodmis.org, tglx@linutronix.de, peterz@infradead.org, juri.lelli@redhat.com, claudio@evidence.eu.com, mingo@kernel.org, luca.abeni@santannapisa.it, linux-kernel@vger.kernel.org In-Reply-To: <20181107111032.32291-1-juri.lelli@redhat.com> References: <20181107111032.32291-1-juri.lelli@redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/urgent] posix-cpu-timers: Remove useless call to check_dl_overrun() Git-Commit-ID: e6a2d72c10405b30ddba5af2e44a9d3d925a56d3 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 X-Spam-Status: No, score=-0.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_96_Q autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: e6a2d72c10405b30ddba5af2e44a9d3d925a56d3 Gitweb: https://git.kernel.org/tip/e6a2d72c10405b30ddba5af2e44a9d3d925a56d3 Author: Juri Lelli AuthorDate: Wed, 7 Nov 2018 12:10:32 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Nov 2018 07:43:35 +0100 posix-cpu-timers: Remove useless call to check_dl_overrun() check_dl_overrun() is used to send a SIGXCPU to users that asked to be informed when a SCHED_DEADLINE runtime overruns occur. The function is called by check_thread_timers() already, so the call in check_process_timers() is redundant/wrong (even though harmless). Remove it. Fixes: 34be39305a77 ("sched/deadline: Implement "runtime overrun signal" support") Signed-off-by: Juri Lelli Signed-off-by: Thomas Gleixner Reviewed-by: Daniel Bristot de Oliveira Reviewed-by: Steven Rostedt (VMware) Cc: linux-rt-users@vger.kernel.org Cc: mtk.manpages@gmail.com Cc: Mathieu Poirier Cc: Peter Zijlstra Cc: Luca Abeni Cc: Claudio Scordino Link: https://lkml.kernel.org/r/20181107111032.32291-1-juri.lelli@redhat.com --- kernel/time/posix-cpu-timers.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c index ce32cf741b25..8f0644af40be 100644 --- a/kernel/time/posix-cpu-timers.c +++ b/kernel/time/posix-cpu-timers.c @@ -917,9 +917,6 @@ static void check_process_timers(struct task_struct *tsk, struct task_cputime cputime; unsigned long soft; - if (dl_task(tsk)) - check_dl_overrun(tsk); - /* * If cputimer is not running, then there are no active * process wide timers (POSIX 1.b, itimers, RLIMIT_CPU).