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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13A31C433E0 for ; Thu, 16 Jul 2020 19:24:20 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D690B2074B for ; Thu, 16 Jul 2020 19:24:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="MoeXRncz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D690B2074B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B278C86937; Thu, 16 Jul 2020 19:24:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6DIc2J2WhUB6; Thu, 16 Jul 2020 19:24:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6CA4086931; Thu, 16 Jul 2020 19:24:16 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3B6601BF385 for ; Thu, 16 Jul 2020 19:24:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 307AA87EEE for ; Thu, 16 Jul 2020 19:24:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nesf+u2iaJtx for ; Thu, 16 Jul 2020 19:24:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 84CE687EEC for ; Thu, 16 Jul 2020 19:24:14 +0000 (UTC) Received: by mail-pl1-f193.google.com with SMTP id x9so4300500plr.2 for ; Thu, 16 Jul 2020 12:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=IO5rF0v38hkORnZpPQ2np7PkHTT7l3o2Frf1znSvMCA=; b=MoeXRnczoJvOTiX060NRDer3ic+Z0a6OAKDDzvlghJHJsuwLM+IhpBPYCW1h0hZNZh Fr5kyGgY0/SatP2EZptwciRkxUEZBeWULPC9tbngCSgNOCvd0NXvOeL8OmnqU6ynZicD iZLZdIgB2wXCD8oLjuasdEEdCIEAfOKV/ccMk= 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=IO5rF0v38hkORnZpPQ2np7PkHTT7l3o2Frf1znSvMCA=; b=ecZnhTaCTJbsr4Nibtv7Vzxd/vwXJmjwdAS17mFZbAFNYS6s6jKqmVau3H1qJQlD2W Se57m7Nn7dmNW5G458Ku1BMgBixD5UZNcdNhHWcmooaRX4yLkCHnG//ie0OM4sO13ZEI n2oDpuZiuLoFAe4CFKjSEEzBT8/zYkLWKZkUWY9rKkCNq0UvM1hpTDVHjzcxjnCCNwmd QuULtIinCpzxeIXk+WoR8UEI2azOchk3jBvpNAuhEzEAZQz2U70cBbm2Ifjm557Auh+W x4LQ3xedn/orlQre70nq9w6SJRzFSyTf0i7Jfkupl5KGokZvfuXeoVazu8cNA+ZJoCzh JLhQ== X-Gm-Message-State: AOAM530/og0+iTe/InWlOA/Ay3FxHEcaNJdBoPJ7YHQd77duF0y1nslx aUQghMZoYKonHyzIh1pXIjpD4g== X-Google-Smtp-Source: ABdhPJy0sUnqF9h52WMr6418CCHExwqoVmt3MmuGhwouhxSV6Mqarvy7mOWSh3mLcM/3Qo2Kub5J7g== X-Received: by 2002:a17:90a:d30c:: with SMTP id p12mr6742185pju.4.1594927454098; Thu, 16 Jul 2020 12:24:14 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id f29sm5669290pga.59.2020.07.16.12.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 12:24:13 -0700 (PDT) Date: Thu, 16 Jul 2020 12:24:12 -0700 From: Kees Cook To: Sebastian Andrzej Siewior Subject: Re: [PATCH 0/3] Modernize tasklet callback API Message-ID: <202007161223.19FB352B5@keescook> References: <20200716030847.1564131-1-keescook@chromium.org> <20200716075718.GM10769@hirez.programming.kicks-ass.net> <20200716081538.2sivhkj4hcyrusem@linutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200716081538.2sivhkj4hcyrusem@linutronix.de> X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kuppuswamy Sathyanarayanan , "Rafael J. Wysocki" , Oscar Carter , Mitchell Blank Jr , kernel-hardening@lists.openwall.com, Peter Zijlstra , kgdb-bugreport@lists.sourceforge.net, alsa-devel@alsa-project.org, Allen Pais , netdev@vger.kernel.org, Christian Gromm , Will Deacon , devel@driverdev.osuosl.org, Jonathan Corbet , Daniel Thompson , "David S. Miller" , Masahiro Yamada , Takashi Iwai , Julian Wiedmann , "Matthew Wilcox \(Oracle\)" , Christian Borntraeger , Nishka Dasgupta , Jiri Slaby , Jakub Kicinski , Guenter Roeck , Wambui Karuga , Vasily Gorbik , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Heiko Carstens , linux-input@vger.kernel.org, Ursula Braun , Stephen Boyd , Chris Packham , Harald Freudenberger , Thomas Gleixner , Jaroslav Kysela , Felipe Balbi , Kyungtae Kim , Greg Kroah-Hartman , Dmitry Torokhov , Douglas Anderson , Kevin Curtis , linux-usb@vger.kernel.org, Jason Wessel , Romain Perier , Karsten Graul Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" On Thu, Jul 16, 2020 at 10:15:38AM +0200, Sebastian Andrzej Siewior wrote: > On 2020-07-16 09:57:18 [+0200], Peter Zijlstra wrote: > > > > there appear to be hardly any users left.. Can't we stage an extinction > > event here instead? > > Most of the time the tasklet is scheduled from an interrupt handler. So > we could get rid of these tasklets by using threaded IRQs. Perhaps I can add a comment above the tasklet API area in interrupt.h? -- Kees Cook _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel 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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 547A9C433E1 for ; Fri, 17 Jul 2020 07:07:39 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D393C20734 for ; Fri, 17 Jul 2020 07:07:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="VW0Yq1we"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="MoeXRncz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D393C20734 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 691261614; Fri, 17 Jul 2020 09:06:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 691261614 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1594969657; bh=zh1m2HbHSlb0WcR1WmsKNtk22LWo6BYXXSy8N9YQm3I=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VW0Yq1we1iiVlMzIcAr4gRL5p18Otkyln6cuUPn+2vAK7G3pqXMeKV+bOjNAe0LKL lJ+U3kWxNu2SnNcwnpopQjMQWHaTHFmM29NpUB5CJGp7BYVSHSgumNIthAq7j5uFKk PDvxYrJjVK1ySgUQb8ItPSBgVasZBGhdDXAujV28= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6C652F802DD; Fri, 17 Jul 2020 09:05:07 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 63AF9F801EC; Thu, 16 Jul 2020 21:24:25 +0200 (CEST) Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A5E67F8014E for ; Thu, 16 Jul 2020 21:24:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A5E67F8014E Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="MoeXRncz" Received: by mail-pl1-x642.google.com with SMTP id l6so4286799plt.7 for ; Thu, 16 Jul 2020 12:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=IO5rF0v38hkORnZpPQ2np7PkHTT7l3o2Frf1znSvMCA=; b=MoeXRnczoJvOTiX060NRDer3ic+Z0a6OAKDDzvlghJHJsuwLM+IhpBPYCW1h0hZNZh Fr5kyGgY0/SatP2EZptwciRkxUEZBeWULPC9tbngCSgNOCvd0NXvOeL8OmnqU6ynZicD iZLZdIgB2wXCD8oLjuasdEEdCIEAfOKV/ccMk= 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=IO5rF0v38hkORnZpPQ2np7PkHTT7l3o2Frf1znSvMCA=; b=ZfZzj4NMPLiC/OOVJE1ni4vqI+DH4QEXi1R4CP3zAglezc04Uwy6wm1LqcA2VN7tIH R0a40l9XoBwK7DYkgo60CDZpLDCGivJnL/GbY1UMO++KtiPoapx1+cxnsIlie1AUH9Yp NvaqWoRD51zXKyUMIhBPANEXk0YuBdSomhEU4XMvBz5tyjRJoqBlGKm13Oo+CdXWakT2 X+RGLQXI6BLSSbARPMxNKjpvoWCXXrAp6B5pn4OvYmD+1qCYcrr8ReLPNkdRIKDMBRVp gG9H7Ii4u5EhPF81ZxP6/HIb4oKLFFlU05fZjhPnxE7IgYs7m8/rG7jtTZSQdLJBB9V/ DMrA== X-Gm-Message-State: AOAM533qAlF47a8wnfg+mcEhbBoq8kIm/Yf99P1n0z/Apz8B6PFF8SrE jA67Q7+OvUgYmJWIJQJcxfPXdQ== X-Google-Smtp-Source: ABdhPJy0sUnqF9h52WMr6418CCHExwqoVmt3MmuGhwouhxSV6Mqarvy7mOWSh3mLcM/3Qo2Kub5J7g== X-Received: by 2002:a17:90a:d30c:: with SMTP id p12mr6742185pju.4.1594927454098; Thu, 16 Jul 2020 12:24:14 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id f29sm5669290pga.59.2020.07.16.12.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 12:24:13 -0700 (PDT) Date: Thu, 16 Jul 2020 12:24:12 -0700 From: Kees Cook To: Sebastian Andrzej Siewior Subject: Re: [PATCH 0/3] Modernize tasklet callback API Message-ID: <202007161223.19FB352B5@keescook> References: <20200716030847.1564131-1-keescook@chromium.org> <20200716075718.GM10769@hirez.programming.kicks-ass.net> <20200716081538.2sivhkj4hcyrusem@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716081538.2sivhkj4hcyrusem@linutronix.de> X-Mailman-Approved-At: Fri, 17 Jul 2020 09:05:03 +0200 Cc: Kuppuswamy Sathyanarayanan , "Rafael J. Wysocki" , Oscar Carter , Mitchell Blank Jr , kernel-hardening@lists.openwall.com, Peter Zijlstra , kgdb-bugreport@lists.sourceforge.net, alsa-devel@alsa-project.org, Allen Pais , netdev@vger.kernel.org, Christian Gromm , Will Deacon , devel@driverdev.osuosl.org, Jonathan Corbet , Daniel Thompson , "David S. Miller" , Masahiro Yamada , Takashi Iwai , Julian Wiedmann , "Matthew Wilcox \(Oracle\)" , Christian Borntraeger , Nishka Dasgupta , Jiri Slaby , Jakub Kicinski , Guenter Roeck , Wambui Karuga , Vasily Gorbik , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Heiko Carstens , linux-input@vger.kernel.org, Ursula Braun , Stephen Boyd , Chris Packham , Harald Freudenberger , Thomas Gleixner , Felipe Balbi , Kyungtae Kim , Greg Kroah-Hartman , Dmitry Torokhov , Douglas Anderson , Kevin Curtis , linux-usb@vger.kernel.org, Jason Wessel , Romain Perier , Karsten Graul X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, Jul 16, 2020 at 10:15:38AM +0200, Sebastian Andrzej Siewior wrote: > On 2020-07-16 09:57:18 [+0200], Peter Zijlstra wrote: > > > > there appear to be hardly any users left.. Can't we stage an extinction > > event here instead? > > Most of the time the tasklet is scheduled from an interrupt handler. So > we could get rid of these tasklets by using threaded IRQs. Perhaps I can add a comment above the tasklet API area in interrupt.h? -- Kees Cook 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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7727EC433E3 for ; Thu, 16 Jul 2020 19:24:33 +0000 (UTC) Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.kernel.org (Postfix) with SMTP id C48C32074B for ; Thu, 16 Jul 2020 19:24:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="MoeXRncz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C48C32074B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernel-hardening-return-19362-kernel-hardening=archiver.kernel.org@lists.openwall.com Received: (qmail 9643 invoked by uid 550); 16 Jul 2020 19:24:26 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Received: (qmail 9611 invoked from network); 16 Jul 2020 19:24:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=IO5rF0v38hkORnZpPQ2np7PkHTT7l3o2Frf1znSvMCA=; b=MoeXRnczoJvOTiX060NRDer3ic+Z0a6OAKDDzvlghJHJsuwLM+IhpBPYCW1h0hZNZh Fr5kyGgY0/SatP2EZptwciRkxUEZBeWULPC9tbngCSgNOCvd0NXvOeL8OmnqU6ynZicD iZLZdIgB2wXCD8oLjuasdEEdCIEAfOKV/ccMk= 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=IO5rF0v38hkORnZpPQ2np7PkHTT7l3o2Frf1znSvMCA=; b=EpJxtSbwOmovIvJgsZPBrMfW+pgRx1YD6e3thk89nf+8tVlqcpsIU1NX00dyoG9Bl9 7KdFuw+Fkj7qNl3lHmNfQLKqjQtOeEFwOAxCa8PX+/gFGmKQN8GOuPoZYlWKsz/1JWht sHohGTqu0rdSR9pgW77KsrKsgR3h/vk5x/23j7pBbm3IC60QZNFZby3tiyQyWL6WC6lO jOyak3FTza4zmM0eFnv8KDVT+cqrMEvd3kfHL7kdY1lG0q5ufOiVQ73NTJjF7PnChkA9 z+/438BhOie2AO3S282NH0xqzvA2v1M2ZYSqd+JzWXUSVJHOKYzQTMgYgR8xobJmGMnB eFTw== X-Gm-Message-State: AOAM531U8lkhctlim16CbFBF9RLKMBcv7yYXbTuSlPboOOck7QeMIfFp yS07N4nlBrgBKusPw57F48WVVQ== X-Google-Smtp-Source: ABdhPJy0sUnqF9h52WMr6418CCHExwqoVmt3MmuGhwouhxSV6Mqarvy7mOWSh3mLcM/3Qo2Kub5J7g== X-Received: by 2002:a17:90a:d30c:: with SMTP id p12mr6742185pju.4.1594927454098; Thu, 16 Jul 2020 12:24:14 -0700 (PDT) Date: Thu, 16 Jul 2020 12:24:12 -0700 From: Kees Cook To: Sebastian Andrzej Siewior Cc: Peter Zijlstra , Greg Kroah-Hartman , Thomas Gleixner , Allen Pais , Oscar Carter , Romain Perier , Dmitry Torokhov , Kevin Curtis , "David S. Miller" , Jakub Kicinski , Harald Freudenberger , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Jiri Slaby , Felipe Balbi , Jason Wessel , Daniel Thompson , Douglas Anderson , Mitchell Blank Jr , Julian Wiedmann , Karsten Graul , Ursula Braun , Jaroslav Kysela , Takashi Iwai , Christian Gromm , Nishka Dasgupta , Masahiro Yamada , Stephen Boyd , "Matthew Wilcox (Oracle)" , Wambui Karuga , Guenter Roeck , Chris Packham , Kyungtae Kim , Kuppuswamy Sathyanarayanan , "Rafael J. Wysocki" , Jonathan Corbet , Will Deacon , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-s390@vger.kernel.org, devel@driverdev.osuosl.org, linux-usb@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, alsa-devel@alsa-project.org, kernel-hardening@lists.openwall.com Subject: Re: [PATCH 0/3] Modernize tasklet callback API Message-ID: <202007161223.19FB352B5@keescook> References: <20200716030847.1564131-1-keescook@chromium.org> <20200716075718.GM10769@hirez.programming.kicks-ass.net> <20200716081538.2sivhkj4hcyrusem@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716081538.2sivhkj4hcyrusem@linutronix.de> On Thu, Jul 16, 2020 at 10:15:38AM +0200, Sebastian Andrzej Siewior wrote: > On 2020-07-16 09:57:18 [+0200], Peter Zijlstra wrote: > > > > there appear to be hardly any users left.. Can't we stage an extinction > > event here instead? > > Most of the time the tasklet is scheduled from an interrupt handler. So > we could get rid of these tasklets by using threaded IRQs. Perhaps I can add a comment above the tasklet API area in interrupt.h? -- Kees Cook