Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp344941imu; Thu, 8 Nov 2018 02:58:49 -0800 (PST) X-Google-Smtp-Source: AJdET5dRYqTJTrnfLPkzoXIkQxzl2/YNBgBKMNFpJVgHIYABJzJpXIOi/k1Fu+ZYc5HMYLK2/2PC X-Received: by 2002:a17:902:c7:: with SMTP id a65-v6mr4155540pla.296.1541674729126; Thu, 08 Nov 2018 02:58:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541674729; cv=none; d=google.com; s=arc-20160816; b=yw1taBwtz9SQ46hTVcJM/5A8ObKbR45Q0qJJrmC9p/FXKp4gxbpZLv/v8+JHE8BkVv 066Sw8Ep2ZIuiTW0gPJsry+kIRMUm/zfl8qRpRBYviP8mZ/vJFwdMqddafoXkjs7B4pd oo4/mzcoQEYTf81uSQwZaHpWU/QoK0QAJSE59WGjVmKngllnclvEE5xKQ8nKUkeGBa3g muGEC6nWoK4Ge0Lz+T02NWPMjopCq++zBzp4aKszro8JJaLH47BCmbqwA12tl1M0k0m7 4FBvRq7Vg4A+Dd4MgDRhDsywKbKWQlsuGPbkKiEJUDsrJoN8votM6/1kFOXYzg2H3B1r df4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ACAP4ZxbcC2MUD/08hrvNKsWW1ZR3xgu6UsTFMVtww8=; b=DetZKu1Cny04I0718aW26WdyZ0EaTlEV8RH3rGQDbC4koDWp02IrHcYrlaKas/x7as tf+vTn5WNZPhNIfMyc3VCK9+6/vL+jgktwPXcQ5DNum64CN6xPpr1kmt1Xj/ZKeICUYV 6sk3RNNWwM+2aZ906+k8BKTvFWb9qu6ou0a9eGfrtm5AQyUw6DpbsVbt8dQLiFwP8dJA wpln2kX+kRfIZZpBJzjr8i4YLRC7j6Jiu05EBS4y3lVSiN/41cPmNcY/TBx9fvVSNnEe 1CxvFZIVYWCFunZoWh9GoqWPt+RUHXNqmyLuKSDRxlecjxHUakdTJMJZweYGOm+PFdhc PSMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@evidence-eu-com.20150623.gappssmtp.com header.s=20150623 header.b=ZYGXIXju; 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 j7-v6si3826435plk.51.2018.11.08.02.58.33; Thu, 08 Nov 2018 02:58:49 -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; dkim=pass header.i=@evidence-eu-com.20150623.gappssmtp.com header.s=20150623 header.b=ZYGXIXju; 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 S1726967AbeKHUdH (ORCPT + 99 others); Thu, 8 Nov 2018 15:33:07 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36110 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726304AbeKHUdH (ORCPT ); Thu, 8 Nov 2018 15:33:07 -0500 Received: by mail-wm1-f66.google.com with SMTP id a8-v6so754184wmf.1 for ; Thu, 08 Nov 2018 02:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evidence-eu-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ACAP4ZxbcC2MUD/08hrvNKsWW1ZR3xgu6UsTFMVtww8=; b=ZYGXIXjuIN4bDLSZ+3JAa7EexVqyScCZ16NKlZuNaPSKjopQDo0KcdRJ5CXfZxx8zV S1Isx+k+k1gDe3qf01ZgoWE7pwR/hAGCx3+hFNGlO8CZs3esMYgs3WHEU47yWPqIT1v9 auK5SSSfbthaNNVFuvPPMkdIzJiiXywoz0VW+fppM26N+DTPq0nrQMAnPVdm2vl82mcW /uwRPaK6p1K6ku6HR2IJar8/VCTr4zag8LxAWqKeuADMluHIpL+tyVj/+AmgzY7Q/mlu PvxOTg8bcnhFXtRWcgRzS2MMaejZXN+OlTcG/Q8kID9cLNTCvRjesNehS7FlYBWlBGl6 lafQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ACAP4ZxbcC2MUD/08hrvNKsWW1ZR3xgu6UsTFMVtww8=; b=kO4dj8KjUAnduIBR19yfdT8f6HngNRAEJrI/GrHO+HZhpPeesozz2uegWYkEoU6gs/ ke5TyRXJzd/jwB9DdatIly+ORqQN/3GS9tMT60utj3+BgiT1x8C7lAy2oHO54GufSTws pieyTYCwYk8ETJnHE8KZ1qQTGWyVlvxCz7HYflH4JsypsTJW5a/sKwJphGxUrObWWYLD 72zMf1ZjmQpGsUOQRX8DuM0AY+IVVTjoSW2HTelFlWnTE7geLYtJW6FMrnk0yuKjvftX 4Du16T/sRPBzZBKG6WWGc0nW65dgao0AnW6qXTBWdeJSypayCes+KM4phRk7gcq9GoMX 91yg== X-Gm-Message-State: AGRZ1gJRyYzslcbu9AoQBP/dz+NFvkYdRKRg+3QGBHclblmoNA4C0Iy0 PkyRdogceOtJB5MPCxHd3EVdzg== X-Received: by 2002:a1c:4683:: with SMTP id t125-v6mr832037wma.112.1541674690889; Thu, 08 Nov 2018 02:58:10 -0800 (PST) Received: from erbrow (host92-93-static.8-79-b.business.telecomitalia.it. [79.8.93.92]) by smtp.gmail.com with ESMTPSA id y2-v6sm7770709wrh.53.2018.11.08.02.58.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 02:58:09 -0800 (PST) Date: Thu, 8 Nov 2018 11:58:08 +0100 From: Claudio Scordino To: Juri Lelli Cc: peterz@infradead.org, mingo@redhat.com, rostedt@goodmis.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, luca.abeni@santannapisa.it, bristot@redhat.com, linux-rt-users@vger.kernel.org, mtk.manpages@gmail.com, Mathieu Poirier Subject: Re: [PATCH] kernel/time/posix-cpu-timers: Remove useless call to check_dl_overrun Message-ID: <20181108105808.GB13282@erbrow> References: <20181107111032.32291-1-juri.lelli@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181107111032.32291-1-juri.lelli@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 071118, 12:10, Juri Lelli wrote: > check_dl_overrun is used to send a SIGXCPU to users that asked to be > informed when 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 > Cc: Peter Zijlstra > Cc: Thomas Gleixner > Cc: Luca Abeni > Cc: Claudio Scordino > Cc: Mathieu Poirier > --- > 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). > -- [ Superfluous as (fortunately) already queued...] Tested-by: Claudio Scordino Thank you for taking care of this pending issue. Claudio