Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp762802rdb; Tue, 5 Dec 2023 21:44:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGEywEFtzb8ggcQjsER1nxqzq9Oc306sMHURdYb0KpxBewNDxG/7RDc/VGk11MstaX08X4 X-Received: by 2002:a05:6a20:7289:b0:18b:acc8:a5ed with SMTP id o9-20020a056a20728900b0018bacc8a5edmr3202081pzk.8.1701841466064; Tue, 05 Dec 2023 21:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701841466; cv=none; d=google.com; s=arc-20160816; b=zljuvH1mem5Z/5kCA/pJEbKRM/zDQP9gTqxB2ZydfMfPE73vSaRbNJLOgvm1wu3V5b xDvRm0Dj2vpFPCBwl4O4qLg+745Cpd+bTMIwXLrHCWCAO7ZFb+hcPjl6jNDxp5uafBCj utnLv3d7cB5QfFug1qURTrvCnmoyfRD54sFR0U7w56xD9L82ceFtEVxfQ5KALvMAA76L Ee9a544GiIdPmzi6k03Y1lulai0FHKgdaoRMJ73/+s5/6s7ZPNxkM+tZ/jF1EIzK3Anh +i72Qsew9G+LoNs7Q0VLDo+KsWhpzEkisJdzcriUy4NOjvy3GuH0U63SWKw8QGgBtQvo 7zeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=X+sjnLZJ2l3e2jdAF84glp/xQ6OVtmNr71eC56Hfvi0=; fh=FAMDte3HyE/DUhad1+BQCE+oG3/pT22Sy3mhgIKhNLc=; b=godr5BNIGq3r2TYmstL4X+GAiQqmwEftR8uHqIwCBYMfaYfaZpB+e9u270kKEEqY9K NJuIRvKoZOl1vDOTldybhfKKbDQGWaf7GBWf0cZjVvLrjPpeisCfJmeApm8GJ+StYGFB DmnIwUFIKdjE2ShV9g/ZcpC9TtFcoSKrj5DYvjchp0/OnAWNctirlEwfTa5SwbkqZ8Hh L1JFTem4SZQALpQiPZDDJQVr5ASiJkZHi6k3C/cdxW1balOqnwm3U+m/T/ueSAcclA5u QVC6vOcnaJmSHO14WU/zRWGrmsn1JneRLug3siZUIi7gfi57eGSWkK+Z09rxiCuoT04a FU3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AaHiFtxw; spf=pass (google.com: domain of linux-nfs+bounces-355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-355-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k19-20020a63f013000000b005c5f5194e56si5695090pgh.372.2023.12.05.21.44.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 21:44:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AaHiFtxw; spf=pass (google.com: domain of linux-nfs+bounces-355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-355-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id DE882B21051 for ; Wed, 6 Dec 2023 05:44:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B53D1101C7; Wed, 6 Dec 2023 05:44:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="AaHiFtxw" X-Original-To: linux-nfs@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DEC018F; Tue, 5 Dec 2023 21:44:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=X+sjnLZJ2l3e2jdAF84glp/xQ6OVtmNr71eC56Hfvi0=; b=AaHiFtxwniAaOcJjCOrvNRytvi N0klteAyDmK89PqenX1ZmD/oxc+wJzYNX95a42dOBEeftTmJnVVHgEfPx8nvW/5a3q3Ul1dc52oKz Q+ZaucPg2jyjMppZ/T9PqxC+vTv04K+nKosBNYTIVX/4v/jkcuwAQbnmt+HLl05hocrwTss3AU64r 9ryVKSAVXot1wj/C2jxUkhJJQEd38mayys4TkVPFvOEH9S1HXPIXCv3Q0+7waLjQJDIZR1U21sRZa 2diq2SQYO+pXfg442jiEYy7HyKwgidTu97iJPS1mj31GmMkUzOLAXGOvErFv2D9/0yxlw55sKdM24 NOLBpJcg==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1rAkhX-0097d5-2Z; Wed, 06 Dec 2023 05:44:03 +0000 Date: Tue, 5 Dec 2023 21:44:03 -0800 From: Christoph Hellwig To: Christian Brauner Cc: Jens Axboe , NeilBrown , Al Viro , Oleg Nesterov , Chuck Lever , Jeff Layton , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH 1/2] Allow a kthread to declare that it calls task_work_run() Message-ID: References: <20231204014042.6754-1-neilb@suse.de> <20231204014042.6754-2-neilb@suse.de> <170172377302.7109.11739406555273171485@noble.neil.brown.name> <20231205-altbacken-umbesetzen-e5c0c021ab98@brauner> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231205-altbacken-umbesetzen-e5c0c021ab98@brauner> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Tue, Dec 05, 2023 at 12:14:29PM +0100, Christian Brauner wrote: > > For me, the more core of an export it is, the stronger the reason it > > should be GPL. FWIW, I don't think exporting task_work functionality is > > a good idea in the first place, but if there's a strong reason to do so, > > Yeah, I'm not too fond of that part as well. I don't think we want to > give modules the ability to mess with task work. This is just asking for > trouble. It just seems like a really bad idea. At the same time it fixes a real problem. If we go a step back how could we fix it in a better way? Do we even need the task_run based delay for file usage from kernel threads?