Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3477602pxj; Sun, 20 Jun 2021 22:37:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLFSvR1u4LCC8PLvisec844JkQDZJQ+UTq7hCWnjZdd/9+hOzaoeKz55tpoMZK6QXt0frp X-Received: by 2002:a50:aa87:: with SMTP id q7mr10755714edc.97.1624253833974; Sun, 20 Jun 2021 22:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624253833; cv=none; d=google.com; s=arc-20160816; b=vQivGjxzZc7Zf4Ac5Q5u2Sj5EX9v7whWEWJRZGoW5M65izmXb2uoOG4aznYoBjZRMv q9CMOfYSgnF3OHbp4nBmC60h6ORV2IXdkGZhHOs4jY0EYpFHyIie85TLioJR+uVpg5cM ElpclQdH2tSHhO9U5n+uv7e0SJPrnZwDJe2DXEpU3neWBfi96n2/xEXzRPx4Rmf3fg1u 4Q/dpQ+NiJFFVE51XgsnValx284vRnnOzzMHLY8UHxXh2iEUBW2MsG/fJVnjff9r8BoN TL/DHrfhbVZT2k24UjhwyEyElldvFpKSModc8HtbbBnw2c0vWn0U9EjuNsdgu/eaFC2+ FLvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RY9DMg40/fTZjgZ6Fij6lpyg1UQhKJ1773t8fOZ+VDA=; b=bcOaqLEwNabxCJyOT2vqNqUxpZGpfNS18laxcLlyALL/QDAJYtnySmcBT0MM6TnLbz KObDWDPhZ4bgAdOxoyU1HnpsYo1JnQaGDGlOKW02f1e1thJdu6Rd7vKIIHcEdPjKr899 Rkpd/18q3uucpVAbakLUmU2nQKbXYZ+1T2dfYXH4XPUXtMvJ1a9Ek8P1V0q4PwIrGUK2 a4ROPJzGu/TO2UZW66zvIHPRjIvL847nFDPkaeyT0m65THizgVG9prKBm+jvMNr3MYfZ mc49cetXyHyBRm8tH7iSkyFTvUGaOwKwE1V0CzqKpQE9487Iq/kFnNdJhfbEff6HxXDD V7KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iNVen4KR; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si412795eds.153.2021.06.20.22.36.51; Sun, 20 Jun 2021 22:37:13 -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=@redhat.com header.s=mimecast20190719 header.b=iNVen4KR; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229610AbhFUFiQ (ORCPT + 99 others); Mon, 21 Jun 2021 01:38:16 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:30901 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbhFUFiQ (ORCPT ); Mon, 21 Jun 2021 01:38:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624253761; 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=RY9DMg40/fTZjgZ6Fij6lpyg1UQhKJ1773t8fOZ+VDA=; b=iNVen4KR3MKrjcofAnkndEAHOvskE0h7ha9IsSdVkB0uZBFmLeBoLUIS2dLHjPB6MZM8+S Nf5xTyTKTNLs80C8s3wL72j4S55H9tZbjKeSW8xk4oF/K/7jpcMaxzbzyiokDuknoKPblE 8ikMatEZvlSb9n4uMTx/jYhfBTHwON0= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-540-sJa_fmIxMFK4b3B2TYbY5Q-1; Mon, 21 Jun 2021 01:35:59 -0400 X-MC-Unique: sJa_fmIxMFK4b3B2TYbY5Q-1 Received: by mail-wr1-f69.google.com with SMTP id l2-20020adfe5820000b029011a64161d6aso8017924wrm.6 for ; Sun, 20 Jun 2021 22:35:59 -0700 (PDT) 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; bh=RY9DMg40/fTZjgZ6Fij6lpyg1UQhKJ1773t8fOZ+VDA=; b=CIlzwcSzlP3dlDXPaQ5/b7lLG1T6XMax6Pnqglh5vvB1vFoUotvo0cND0kej5R5xTe yjfBG/Z3hXm50lGuH8kKgFFRM68qNC/rfxTb5KgcYEBYklsGA/lQ7OwNaULkRH7YgVmt 5bIXE/A11LnMnM6b9W2NdfOCoMS1HoYWP0sp6DxGd0Pa3BDSCARjoLkl2zzV7Sv/ab6D wQ0zaTWVAwrap9AZFwKtvF6Ys5hRI5GF03dUD+YMI2kRCq+U26xYVwvnoF4Hgrad5xfk eGH+BZ9NyqvBQZHdDZ9z8hGbbVE1/Kbg22ox1pPYSWT3lbA4Sw+c60vEpM68GyVHW0vk Wmcw== X-Gm-Message-State: AOAM532vA4ZHyLu5kIiDi0XGGlckJ7iO8T8MxyWvlDpOdo7AVtK2gMan t6zNwiqMGYdlSheb/YupW79V96aQq3fQXKCGnsu//0DiyAkN+Mu3q85/y/HsEwr4x5KPsJLWp6f EXmRTzzRLR6t8dtFWfA6EnViD X-Received: by 2002:a5d:6583:: with SMTP id q3mr11825345wru.360.1624253758476; Sun, 20 Jun 2021 22:35:58 -0700 (PDT) X-Received: by 2002:a5d:6583:: with SMTP id q3mr11825334wru.360.1624253758292; Sun, 20 Jun 2021 22:35:58 -0700 (PDT) Received: from localhost.localdomain ([151.29.58.33]) by smtp.gmail.com with ESMTPSA id f19sm16229383wre.48.2021.06.20.22.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Jun 2021 22:35:57 -0700 (PDT) Date: Mon, 21 Jun 2021 07:35:55 +0200 From: Juri Lelli To: Thomas Gleixner Cc: bigeasy@linutronix.de, linux-rt-users@vger.kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org, bristot@redhat.com, Anna-Maria Behnsen Subject: Re: [RFC PATCH RT v2 1/2] time/hrtimer: Add PINNED_HARD mode for realtime hrtimers Message-ID: References: <20210616071705.166658-1-juri.lelli@redhat.com> <20210616071705.166658-2-juri.lelli@redhat.com> <87k0mqeofg.ffs@nanos.tec.linutronix.de> <87bl82e19d.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bl82e19d.ffs@nanos.tec.linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 19/06/21 09:56, Thomas Gleixner wrote: > 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. Ah, indeed. Pulled the trigger too early it seems. I'll ponder more. > 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. Agree. Lemme look more into it. Thanks for the comments! Best, Juri