Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4726655pxj; Tue, 22 Jun 2021 06:47:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVq0MJk54mDOzwkHGHHPxVF/BTxIvFSQ5roIaS1JzkA/rVMwNbA9ZT7Cs1GoctNSeWVGgC X-Received: by 2002:a92:2c01:: with SMTP id t1mr2763093ile.81.1624369628936; Tue, 22 Jun 2021 06:47:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624369628; cv=none; d=google.com; s=arc-20160816; b=SHHm8CcuzACiYDnoSF5dWMysXHzvArhqJgHi/UCWqnCMBkoTcHA5NwX3hb6DLj3aiF dYFyXOH3t5GEGYW7uufLFb2BwmQ/tWzfhtSZy6KWxemSpUDic/JPzvKclq8EMJDGxVLH FA66vptqAC4HX23OY5sXPCwjEP2RwTEG8TLuRGNaMZiBoRR7gqQzMcxZDCwWdpgy9TsQ 5LznD8BQEWvG3t0/K73EiDgmWlh6KxTG9gDWRQpFp4/QXGqUosCDa600TLPBcVe51OBJ AfASRxQgWyybkCo4FyJaAdZfCX7saFj3QKaF6A8u4/NcrBhOKI/7ah9Teb3aeOcmz7VO anCA== 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=3H00gnKd4aNoDsEENeDEJQeV+mVhwSX4UIb1VZLCQi0=; b=NRyfrZBBroPvhunKVZyQ9u8SMco5kOSM556/XAYujPqzFiZiIhU6kVCqIgdEWGHI1T y61UXRNXQIehj/RzZQu9NrT5Prrby3PusnDNtXiKCEHxzJCSpR52arh/nrL/Hm6krriw 6ybqgoA47W4FBVaUMmGQKq1D/nx91xE/yTUuWGvdxhcjGNTh1ms3p6oyoKR2I8obrRZa fNXAAG4LRRzyot8Mmaaf6LL6Sn9q9vAlZGMEDqF8w24+VYfeZUIlGz8h7GRqvNT6MwJF D/+3GUlG6+ICcMpOLEWMqscabqtq9jUDXxVL5BuhH6XQEFK+4Ev9EZccitYqje1rGAfy 7FHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=JRs4YOFp; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r127si23909062iod.92.2021.06.22.06.46.55; Tue, 22 Jun 2021 06:47:08 -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=@infradead.org header.s=desiato.20200630 header.b=JRs4YOFp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231239AbhFVNqv (ORCPT + 99 others); Tue, 22 Jun 2021 09:46:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229988AbhFVNqn (ORCPT ); Tue, 22 Jun 2021 09:46:43 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FF67C061574; Tue, 22 Jun 2021 06:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3H00gnKd4aNoDsEENeDEJQeV+mVhwSX4UIb1VZLCQi0=; b=JRs4YOFpHY1YWpIp+4Vnp7BfH1 Vo7WpAZpqicWzSGYzXna31nBZdnou0FHQo3cS7qrqrmc16nQlvg+K9UW879O7RlIAe6iuBaO6VpRw Slo+yVM974Af063gpQ12zxmBp82nzRk0NK49AJ4AUY8RnUCoxCfa5DU9AyaX2PKNsHoV+RF9vyJus DoSf9bA8LFAOeMMvrbOf5elenpwZPwsSFgcRaaVW5uRJY03aNI+/A5Mc8v8pv3Fe3JR3teaQ1c7UI 2wIcU1BjxUqgBXPaMI1kll96nFXQwxrwBzEMi57THg+k84jBDgHMqr9KcjXtu6hwUTdk5+Mw/wnGg BCJvmzlg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvghN-00Abzm-1V; Tue, 22 Jun 2021 13:44:23 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 377B8300223; Tue, 22 Jun 2021 15:44:23 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1A15220C169E1; Tue, 22 Jun 2021 15:44:23 +0200 (CEST) Date: Tue, 22 Jun 2021 15:44:23 +0200 From: Peter Zijlstra To: Thomas Gleixner Cc: Nicolas Saenz Julienne , linux-rt-users@vger.kernel.org, frederic@kernel.org, mtosatti@redhat.com, LKML , Jiri Olsa Subject: Re: [RFC 2/2] timers: Make sure irq_work is handled when no pending timers Message-ID: References: <20210610125945.558872-1-nsaenzju@redhat.com> <20210610125945.558872-2-nsaenzju@redhat.com> <87mtrmeqon.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87mtrmeqon.ffs@nanos.tec.linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 19, 2021 at 12:47:04AM +0200, Thomas Gleixner wrote: > There are two solutions: > > 1) Create a IRQ_WORK softirq and raise that > > 2) Simply delegate it to a workqueue IIRC someone was looking to stick the whole thing in a kthread_worker. Jiri, was that you?