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.9 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 CC787C433E1 for ; Mon, 17 Aug 2020 19:32:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A4E532072D for ; Mon, 17 Aug 2020 19:32:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="bzgnsWX6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732147AbgHQTci (ORCPT ); Mon, 17 Aug 2020 15:32:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732287AbgHQTb6 (ORCPT ); Mon, 17 Aug 2020 15:31:58 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8F1C061342 for ; Mon, 17 Aug 2020 12:31:57 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id ep8so8138000pjb.3 for ; Mon, 17 Aug 2020 12:31:57 -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=yLDTTqMkKvyQoGCAd2tBT6ow8BC5kwAIMSYl/rsC3Ig=; b=bzgnsWX6JN7NV6RKPm3/XJjM04WPFUgcs1wtGhs1vDTOxeZhtDj7fuyAu2vXQLBDwf NunOGlqU6ZO3tUOM6cYIKz91z1a0JFYpj3NUNbRaX/q3jIer+Wkvt/KvKPaONP97Crry jsU4TA572eaUbNcIoBNzEbO/z39hgO2qIc6nk= 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=yLDTTqMkKvyQoGCAd2tBT6ow8BC5kwAIMSYl/rsC3Ig=; b=JJhU7DpUQPGHztxeHjILwxqSROb/J4P08fBD2vX9d/PU7Yq7bQHNY8hxE0iTAzZ0Yh JhdGyGJY7E/nJgm1o3cJkCOwXJq1SixKSlmltNgHyssu7eAOw5pZTA282K4wqVqudXmG MxlfMu/ZCc9FIWYagfO7/+B36U3x+GuVfFpvSBXnQ3n4iT4KSbpFOtUegXptyfaD1euU f8MlPfmJ94yGAleoJDFWZwFpFel/Sk8M3iyZ3d6KOetLRzm1Ha6SZyaWqtMAP6atyPI/ s1yfWOwRAJzxGTUMKZxJFsyxq28msrcQfQN8AU9HLtmfDaE/tXP1iL3H4TtLtbRbEtIV nqhw== X-Gm-Message-State: AOAM533hcZJlGYXL0VgS7WvTnvPpwu1iwtCY1EikZUiFY6A1wwmwYgUq Q7RFJI4KfJhUeMVT/qfc2oJZ7g== X-Google-Smtp-Source: ABdhPJzCi15gvOenOB0TavTHTfEnkEdWPrPF4SLQpHGX34K4lsCi5WBzkUNgqv4diadl5ikP7WbgjA== X-Received: by 2002:a17:90b:4b0c:: with SMTP id lx12mr14431013pjb.117.1597692717183; Mon, 17 Aug 2020 12:31:57 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id hi13sm18644138pjb.26.2020.08.17.12.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 12:31:56 -0700 (PDT) Date: Mon, 17 Aug 2020 12:31:55 -0700 From: Kees Cook To: Masahiro Yamada Cc: Allen Pais , Ludovic Desroches , Ulf Hansson , Manuel Lauss , =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Jaehoon Chung , Alex Dubov , Bruce Chang , Harald Welte , inux-mmc@vger.kernel.org, linux-arm-kernel , Linux Kernel Mailing List , Linux-OMAP Subject: Re: [PATCH 00/10] mmc: convert tasklets to use new tasklet_setup() Message-ID: <202008171230.D576430C56@keescook> References: <20200817083508.22657-1-allen.lkml@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On Mon, Aug 17, 2020 at 09:53:13PM +0900, Masahiro Yamada wrote: > On Mon, Aug 17, 2020 at 5:35 PM Allen Pais wrote: > > > > Commit 12cc923f1ccc ("tasklet: Introduce new initialization API")' > > introduced a new tasklet initialization API. This series converts > > all the mmc drivers to use the new tasklet_setup() API > > > I did not know this was the direction to invest efforts > because I thought the threaded-irq was supposed to replace > the tasklet. Both can happen. It seemed to me that mechanical conversions from tasklet to threaded-irq was not possible, though, so best to convert the old API away from being a exploit target (saved arguments on the heap) while conversions to threaded-irq can happen on a case-by-case basis. -- Kees Cook