Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35953545rwd; Mon, 10 Jul 2023 15:34:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlFM+W0l0NVhIk+mvGDs7UmEkUe+hhXA61LDhm0EHa1lg9mW091g6eVBr9rSJn8tEnAgHS99 X-Received: by 2002:a05:6a00:2392:b0:668:681f:ca98 with SMTP id f18-20020a056a00239200b00668681fca98mr13509532pfc.27.1689028441197; Mon, 10 Jul 2023 15:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689028441; cv=none; d=google.com; s=arc-20160816; b=ZR0ZevVQyWdHfegc8acurM06vsgJCad2g7aM0l8KtrbFU1YIzBx8dqmHanLEfSj1RT 0K6C13InXgarTEA9xWpaBLhUqm7SAQ90b1IBtoro4EUqPSTBTBVp1N8RWN8KvFWxjRk1 xX/fQvpKUPcRuJm5BMmjSwUfNWd6EceacksOj6xKGeQSeMqYk6FtN+4RY9cC2F4J7TkZ htg6tVO6gbwFn52BEPSCiV0NlvWilbCg8GmCS7yRcTna2Up2yniKRBM8YW4xvFCCw0/O j8ZYgTJY6maWlpCrDRu8KDX7hQ+UK8eQ+bODBUywzupZ7nPa8rP+2f90azJbjWetyRHa kFrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:references:in-reply-to:subject :cc:to:from:mime-version:content-transfer-encoding:dkim-signature :dkim-signature; bh=W5gBRyOlIM1QXcl27ofiQGrpHqwjWzMv56YOS8lro5U=; fh=ACjCiyaKcbcHUaXXPm0OKDVhNPF59cCi73WebfpTjms=; b=upHKxV0MSrVayLj/hc8ss35Gxv8mUGfrd73bKuKqglWcQtdqYEB+2e6U+gPACdxWqb FoXexlxS3uuHt5g4GPd1kgNDu81+bnX9GJThVZqtgHSt0yeX+hRrwaF0L8KRf6WcyU8J PCHCu7l9VyVG9lwfb51dQddN691/MNVog0WMp5XIf4fbt5MlJB6Mlo8z/ddNdz8APCK5 JlhGJ0+Q32NZvKGq9PJY6BmI8Ukpz8D2VOFtSsszFL2hMBspRMP/kD+Bu89ZuCirSV4I SALy/ZgYzsfAQCx+7dNhKAzs7dP0uKkOMKVHGla6yCCSc/MrvdYXBNW3+ycDHYmdQYgQ aYVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Dvjmh0Ww; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=axiJ5Uuz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a056a00114300b006687255a465si372477pfm.298.2023.07.10.15.33.42; Mon, 10 Jul 2023 15:34:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Dvjmh0Ww; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=axiJ5Uuz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229563AbjGJWSz (ORCPT + 99 others); Mon, 10 Jul 2023 18:18:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230210AbjGJWSy (ORCPT ); Mon, 10 Jul 2023 18:18:54 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C5A7189 for ; Mon, 10 Jul 2023 15:18:53 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 24F161FD82; Mon, 10 Jul 2023 22:18:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689027532; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W5gBRyOlIM1QXcl27ofiQGrpHqwjWzMv56YOS8lro5U=; b=Dvjmh0WwT5/T7I0rgT/ZsQup4IgJHYPPkIhWBbaAegI3UviqZRuZvvQhBNyat7TFhk9run 9QNxAaPHDL5bCrht1QiPVkSs5pwHqZJLm74/KlO1mMuu5zHjZ4+E3YgEfF8D4NGrmxH0ir A4yJ1YfeV1o4Zm24l0q5X7InkaOxKHc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689027532; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W5gBRyOlIM1QXcl27ofiQGrpHqwjWzMv56YOS8lro5U=; b=axiJ5Uuz7EcbguniggiZFBPbOjUBeAoAZqTQXN7bNVH7lLp4plxwc8lNMXGiph90WZOzOq 8KUIu0KyTc9k+2Ag== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E9CC31361C; Mon, 10 Jul 2023 22:18:49 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id kGzKJsmDrGRPeAAAMHmgww (envelope-from ); Mon, 10 Jul 2023 22:18:49 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "NeilBrown" To: "Chuck Lever" Cc: linux-nfs@vger.kernel.org, "Chuck Lever" , lorenzo@kernel.org, jlayton@redhat.com, david@fromorbit.com Subject: Re: [PATCH/RFC] sunrpc: constant-time code to wake idle thread In-reply-to: References: <168842897573.139194.15893960758088950748.stgit@manet.1015granger.net>, <168842927591.139194.16920372497489479670.stgit@manet.1015granger.net>, <168843152047.8939.5788535164524204707@noble.neil.brown.name>, , <168894969894.8939.6993305724636717703@noble.neil.brown.name>, Date: Tue, 11 Jul 2023 08:18:46 +1000 Message-id: <168902752676.8939.10101566412527206148@noble.neil.brown.name> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, 11 Jul 2023, Chuck Lever wrote: > > Actually... Lorenzo reminded me that we need to retain a mechanism > that can iterate through all the threads in a pool. The xarray > replaces the "all_threads" list in this regard. > For what purpose? NeilBrown