From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56F7AC433EF for ; Mon, 27 Sep 2021 21:19:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3DD9F6103B for ; Mon, 27 Sep 2021 21:19:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237261AbhI0VVR (ORCPT ); Mon, 27 Sep 2021 17:21:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237154AbhI0VVK (ORCPT ); Mon, 27 Sep 2021 17:21:10 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2D66C061575 for ; Mon, 27 Sep 2021 14:19:31 -0700 (PDT) From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1632777570; 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: content-transfer-encoding:content-transfer-encoding; bh=d6kmTP0hjilOQCCTBr7UonHpnCkJykoJ2XrUl9DZstw=; b=4zNRnCVUMhU0y9pewkhTebkOpqwxAECvE0IjfDg2j+caGSlf3ly562CBOXJxdqkdfsXtCO yWubf5XChxN8ETPcarqVFTDqfzkou7ot9LdwZ7YO3Laiatj8myTJRLZwd1xfn496flVHBp SMFr+jl8pe4BZ912bwvxnBKRhMAza+jS3OMPFRIfbHFnK/584yXHTonlVqZhzRlUyC+7kJ 8y1pNUqxRxmxG++O1IXJ4XA+sbtRAyTl7YUbO/DrXhcrtdsmuFfFDHBo6bOOd1/b4yXJQ7 4tREOuCyFjGZOigFFV43E/dK/CdgTrDNoLkVjvvaseCNDpTMuwknCK2SbhUL7w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1632777570; 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: content-transfer-encoding:content-transfer-encoding; bh=d6kmTP0hjilOQCCTBr7UonHpnCkJykoJ2XrUl9DZstw=; b=Q3uEmUvbu0t5djGPWIzAklW85OSg9z/8l57mFLj/H6Mwt5Isklco+xwoa/oLm4LS1xJND3 50QE5l+Tp2+I3zDQ== To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Thomas Gleixner Subject: [PATCH 0/5] irq_work: PREEMPT_RT bits Date: Mon, 27 Sep 2021 23:19:14 +0200 Message-Id: <20210927211919.310855-1-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This are the PREEMPT_RT bits for irq_work. The annotation for IRQ_WORK_HARD_IRQ was already merged except for one missed annotation. Patch #4 introduces the required processing split of callbacks with are really invoked from hard-irq context and those which are delayed until the softirq timer tick. This has been done as quite a few them acquire locks which need to sleep on PREEMPT_RT and must not be invoked in hardirq context. We can not delay all of them since a few need to be invoked hardirq context in order to work properly (NOHZ, scheduler, =E2=80= =A6). Sebastian