Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4016576rdh; Tue, 28 Nov 2023 09:31:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOQo9eUNtVmMYmAQATBDBB+YlzpTPWUuN/NmH/AzngswimWHh4oLNMTrL/6PX36GGGKlvb X-Received: by 2002:a0c:f751:0:b0:67a:3df0:f3ae with SMTP id e17-20020a0cf751000000b0067a3df0f3aemr9475789qvo.34.1701192681542; Tue, 28 Nov 2023 09:31:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701192681; cv=none; d=google.com; s=arc-20160816; b=iN9vso/NJC3uxgBldqYsUgPWZ5PwCByy9jN5xK4fpKkWmpeeISeoEXW5OFFVG12Sru x2upZBS1s9+hn/U/jA66mjyXJvk67U41EAjSRngQIxq4YwU+lCy8Syiuo8cPKrx4DepG AZads/+IbRFimq2RW4+2SD25oTJgITnKGDvXOu7QRc3ejiPqoJ8T7AtVMck7XGZlMIKi Frv0/u6iGY8wFGh1QHXI8F63im6LzOI8+BWwafE6p6gZCaovKVfOmW17T3bO6SjEU/Eo lQslnOTpVkhvexbemKs0wbgsk1a/wQ5uPuY5R/4NA1ZI4WQvvih5EPNchq8WAXfhGtGA aSgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent: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=qoYg4QwqiFnQKk6Phfk0sCXSGpCCrhqviVxw7/WZ9YY=; fh=NgmM/LgFuVVs402r0XWmNkhLaO+SQ9eWQfwdU+YoZ/s=; b=decncbZTNWJbV2Sr8kOOEAfLLEHKHQPXSQvnV9byVChW8wRiJ38Gs1+UxzqvX28cck uBP5O+ss7QYvGIYoMp530tctrK5JfunKaJUWntcMrEfGXId6ynjburYmAF9vyit1TGUj tnE4QBpIGQjHLLqLryKQX7XRz7QIMeJpmQZ03piRqHsc8LfWIqHaqdyLN3QceN0sDPSo XfB3X3+s+TYhMplBl42OowSzsZiwmZK88guEaDhwO7h02R+SY5v/7yJ0PKj130LjsisX 51NhgvRMSTivw2LialXROyT2t4xrTMYMtFbP27B7T+Sjrhd7/sDjn7Dkki1p2C1guYOK MLvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HNon7f+R; spf=pass (google.com: domain of linux-nfs+bounces-134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m12-20020ad4504c000000b0067a28eff540si7363720qvq.445.2023.11.28.09.31.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 09:31:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HNon7f+R; spf=pass (google.com: domain of linux-nfs+bounces-134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 319651C20C2B for ; Tue, 28 Nov 2023 17:31:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A7585CD3E; Tue, 28 Nov 2023 17:31:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HNon7f+R" X-Original-To: linux-nfs@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8494FE6 for ; Tue, 28 Nov 2023 09:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701192672; 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: in-reply-to:in-reply-to:references:references; bh=qoYg4QwqiFnQKk6Phfk0sCXSGpCCrhqviVxw7/WZ9YY=; b=HNon7f+RdfIAkvQpndZC8Oh5GFmyZfnfEjHo5lImFcbH7vxo0WQwUW65OtIV6YYFTjB+FI PlUSvnwLVl5tnQJEWhWBs7rCtqQeodDqe9v3och4GKKOQ62qnypAV/tA3hZxZtmsEnu3YM UPRu9ghleXDd9tlIUaJmBXZq9SZaT5o= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-489-E6YPM5haNiKDMVq8xEcWFw-1; Tue, 28 Nov 2023 12:31:08 -0500 X-MC-Unique: E6YPM5haNiKDMVq8xEcWFw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8F3EE101A550; Tue, 28 Nov 2023 17:31:07 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.224.14]) by smtp.corp.redhat.com (Postfix) with SMTP id 97F7EC15984; Tue, 28 Nov 2023 17:31:04 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Tue, 28 Nov 2023 18:30:02 +0100 (CET) Date: Tue, 28 Nov 2023 18:29:59 +0100 From: Oleg Nesterov To: Christian Brauner Cc: NeilBrown , Al Viro , Jens Axboe , 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/RFC] core/nfsd: allow kernel threads to use task_work. Message-ID: <20231128172959.GA27265@redhat.com> References: <170112272125.7109.6245462722883333440@noble.neil.brown.name> <20231128-arsch-halbieren-b2a95645de53@brauner> <20231128135258.GB22743@redhat.com> <20231128-elastisch-freuden-f9de91041218@brauner> <20231128165945.GD22743@redhat.com> 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: <20231128165945.GD22743@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 Forgot to menstion, On 11/28, Oleg Nesterov wrote: > > but please > note irq_thread()->task_work_add(on_exit_work). and this means that Neil's and your more patch were wrong ;) Oleg.