Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2103498pxj; Sat, 19 Jun 2021 03:03:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8DxHHLACGOCRVkyKPzv+oC9R2CZn4c5Bg9nYgJl6claC++hFrX90aZxSHL6IvPfTk74xj X-Received: by 2002:a05:6638:197:: with SMTP id a23mr7352630jaq.77.1624097025488; Sat, 19 Jun 2021 03:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624097025; cv=none; d=google.com; s=arc-20160816; b=0RZSxatrkqp+yXfzyynbZA9hfiMfRFSpaPKHPu2QJuLxEZ76pD6IfmstlD5m2O3lD1 mMJY/2DuDxBFxVIWcU7FPrrC0VHq8N6a+CCpPODXRSU2RUmPRs9Q0KiX+KhixUdQcjE0 tO7+e47rlEyQYYJBVkBl6aSE04NrzT7rX3oChjz3s0nwQocB3YwyZHpR767brsrHGLTH KJ3Ph/l3/nnfJu2ZFyXE6RzubuljeZS2BvOVrBiq4f9Tk8mXzpU1Q9e/kYCODsKFZ5PK qDUCq+f+kfHYStLJU+v5KqDS2sAi0Wu3UsfpYtxXkDDaUGoAvDkeInEbC0qLBoS5k/s+ AEqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=cNstW53zAdTSKjnd/uFTh8EXy2E4aia9C+TcSMNuBas=; b=yAUIBO6NJXF+QPAu/v7D+TRfQ9SFRlKia8Kht4CjJkV21Vys1QEhSiskD2R91Hh7gg 7asDI1zFmZPxtGSBVzhgMCVcSiz1I5zMZH8CM88h72Cs0vj7mgnjqRKwTxkfZ/vh+mY3 XpP8kHsBFIkkPyecYZDexQrJJHuX4fXVowmT0aXOa4DVmQc+S7vd8kb4k7vy+fKL1mRB G1Ox6s2olDy6LF4VWzmymNtpdHtdZ6bE38vfc1uym1TfXdhQXmeRBTsUmo25J6+HgKE6 U94ExQPdZWo5SOVrhlU0dBn1eOcuUMvvv3YrQzskwDeWiVZUF2ICvmlZB6D5cfNPHihZ nw5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Y4Zza9RN; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=bwBA7DmZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si5577658ilo.50.2021.06.19.03.03.32; Sat, 19 Jun 2021 03:03:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Y4Zza9RN; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=bwBA7DmZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233892AbhFSH61 (ORCPT + 99 others); Sat, 19 Jun 2021 03:58:27 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:33152 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229466AbhFSH60 (ORCPT ); Sat, 19 Jun 2021 03:58:26 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1624089375; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cNstW53zAdTSKjnd/uFTh8EXy2E4aia9C+TcSMNuBas=; b=Y4Zza9RNF6VigLci/ADSaUf4+ygwxRn/7bMN/rCSZje+ZyBSxgRscBgwo+cRPkEhgihh3c A5i9MWuuFoP+1KtABklDV2YsLnart5f45j8QCw4QIy8xeM6bgFQzP7tEf3F1UQMAjjiAlK MHlZjZwaH6hPK1yyEvCN24tkeXlbrNth/bMC4A+4beG2UTwSpCh8mCUZMoCvmjILbh+wiK 7OnM/VN2PWIhMUOWU6o2xT0hClIcYxZ1o9rdw5dJ3JefCrft/n9t2OnOrW7D3cOapKsW1N 641PxYyino6lUNjKLh0Eb37rwpyt8X2mtmFLw6JpVOIViQWeV1cbnkC/pmT0ig== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1624089375; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cNstW53zAdTSKjnd/uFTh8EXy2E4aia9C+TcSMNuBas=; b=bwBA7DmZJN1MBR4lu/rAt+eSH3j5NMDsmCO1p5SPtn9xYETMQSUEHzURcxDfOLhxZSy2hW ugsocUyTTTEFcXCg== To: Juri Lelli , bigeasy@linutronix.de Cc: linux-rt-users@vger.kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org, bristot@redhat.com, Juri Lelli , Anna-Maria Behnsen Subject: Re: [RFC PATCH RT v2 1/2] time/hrtimer: Add PINNED_HARD mode for realtime hrtimers In-Reply-To: <87k0mqeofg.ffs@nanos.tec.linutronix.de> References: <20210616071705.166658-1-juri.lelli@redhat.com> <20210616071705.166658-2-juri.lelli@redhat.com> <87k0mqeofg.ffs@nanos.tec.linutronix.de> Date: Sat, 19 Jun 2021 09:56:14 +0200 Message-ID: <87bl82e19d.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 19 2021 at 01:35, Thomas Gleixner wrote: > The wild west of anything which scratches 'my itch' based on 'my use > case numbers' in Linux ended many years ago and while RT was always a > valuable playground for unthinkable ideas we definitely tried hard not > to accept use case specific hacks wihtout a proper justification that it > makes sense in general. > > So why are you even trying to sell this to me? I wouldn't have been that grumpy if you'd at least checked whether the task is pinned. Still I would have told you that you "fix" it at the wrong place. Why on earth is that nohz heuristic trainwreck not even checking that? It's not a RT problem and it's not a problem restricted to RT tasks either. If a task is pinned then arming the timer on a random other CPU is blatant nonsense independent of the scheduling class. Thanks, tglx