Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2553577pxa; Mon, 17 Aug 2020 12:34:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi56QskcxEyQ+6Q0RIllZSC9auXO8fiuecEz3GlirB0KhOATrsqD/fNv/FEhryP9PtLm5c X-Received: by 2002:a17:906:a201:: with SMTP id r1mr16432170ejy.432.1597692872428; Mon, 17 Aug 2020 12:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597692872; cv=none; d=google.com; s=arc-20160816; b=gy25AbC+AguMZOmaPpYSwVx+y72L+uFt1gRZxMqyyBziRWdH9LVq/gFBgwvRnE7u09 t5eWBD3TFyOP0DYIobuIsmOQYPMDrgiX1uydgsSJh8Ck0Cb5tsC1OUAnDNZ5uLQ6CFTX sJkvsxBhazUXJS26f27RvbGPglSS+7BrK/sSb+V9NeWHt74LfVO39SHNQCZYCC69hEaG X7ybAt/HkJe5u+RZPbAaRUyXLKj0lw+UGDhIptEZpVTucqeId2e1r6sdKmKs8O+SuHQy XsehzyWEpO55BU0Z6y3uYw798HUdZ9f69RMZuv09hJS03Bf3CNdt3vZ8J4FJWlulCTUa rPzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=yLDTTqMkKvyQoGCAd2tBT6ow8BC5kwAIMSYl/rsC3Ig=; b=fKms9jdkQndnARkQb5YKOvCscN2mIQRyukQPugR5qGCJgxw6a9q2FCTHWhgOKIY3b6 JkmQc0lanU//w6F3ydLzVd4LlAB8YgYT4eiz8rCR3DxfCQyUyxr86xUVnv9N1ciB776Y ERjpltLjWPvCye9r1BI3wutJpd8/FTbEcEPP9ZMRNcNLUbXUafhDEAWhxVjjybU84v8v tH7FvArWBkG8cWzxHPeAP3+a0je4DuQu9Jh7thec1fTDH0flBcMQItTU4Ks0QX5lyXaO TKa1VcG//4t7NNigTlWSybhm5VR4V9MZhrug/VE7aERJ0sElgC87GYHJLuBlhEhJyPkE 4Tlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bzgnsWX6; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o4si11396674edv.338.2020.08.17.12.34.09; Mon, 17 Aug 2020 12:34:32 -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=@chromium.org header.s=google header.b=bzgnsWX6; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390715AbgHQTcj (ORCPT + 99 others); Mon, 17 Aug 2020 15:32:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732288AbgHQTb6 (ORCPT ); Mon, 17 Aug 2020 15:31:58 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F9DEC061343 for ; Mon, 17 Aug 2020 12:31:57 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id e4so8301690pjd.0 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=R2AITEwNhZ5s0sj9x9ehWPQgGiPhDSiAvnTaG65c3Dw0w35IdVK3QRiFcHurx4djdd 9shrbQ1x8bJ1iNS1eqZJiuyAKfbaFnbcDnwWc6gqpZFtI3pWl7x+9fBxMmJidWzNRNkj h/D9fQAic1REMExhsEz3egPhz6BTc36whL42gaVQEnSRWmzcuwwqiBcXgOqExd4V7rYw ZxBAsWdqbeY28Dz1x6s3iaqNBrHFmE7vxte2SZVIrg9qAisezEdVH3Nv84/bAoJRxqbM Ee2kJabwmFDafEPscdb1j4b5TAOE7mplHdf3MHDD+eVWdZvXqq2Asgw0AnViRQ88l5jb lsnA== X-Gm-Message-State: AOAM533XePmdmrQtBFugvXz0ujwWXnXVhUU2DB2FZamCHCWkhmpC0jW4 OOvoxRvHdPBEhsDIWfnN5D+/3Q== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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