From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FAEA1FF7B3 for ; Tue, 3 Feb 2026 14:09:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.68 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770127787; cv=none; b=ojSGpTU0cC1Jt6sVWwFHk/ECRKUB3+2zRfjKTeGX5l2evOmiewVAN+Zca99dZJ4pCp90i0B5DPT1ApSKkaSbJDp6f5B8+UTayfwh+njwtAnTX7dwe7pN0lVVrS/WwyffHiFMOb0oU3gVpg3h+uzGWfh9tiU7syK0rFrXJgt37nM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770127787; c=relaxed/simple; bh=zIFBmAHAM/Irb9G0R8j7pSNsL+gtf2im3LHa47NKC7c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YVxF+IuSB+5ziRbGCvLvrCXQbupy6LJqXaE0u6idQNw8DX7W7OjPwhC63aaWLZnwGl6YOnovMwc6HyS7iRF7azLe1jIMdju92v4e28BY4eispipOcci+Nhj4GlIaUkS7cJ8Q/HgFsheOF5iWsD8ekV6xium4mylwTAzQ6iT18/s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=kyQpPd5y; arc=none smtp.client-ip=209.85.210.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="kyQpPd5y" Received: by mail-ot1-f68.google.com with SMTP id 46e09a7af769-7d189e5b05eso2750709a34.0 for ; Tue, 03 Feb 2026 06:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1770127784; x=1770732584; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BOwWE96OyTi1XljgPB9IwZgSnzcIgyGl9oDHpcAgOM4=; b=kyQpPd5yxkIQng5Yeg52/d02H61Ic9n89ClG62rbkKNAYJKW8SIx46sFoZUEXNyfTH O8fhE83s2bvOh19UPqgLYz9Jah9SCG18SS7ZHUHWB2DEPAWEr7FhyhlfYrnALgTyzDr/ G2F+Gcp++Gain0wAPTpfw0QRJ+583QjGH6pGp9N/BUyNJmtf7djD6qKg8EToNL6hoX42 cy4qrbrU627Q/8GLesu3/cMDROzAWafgI1+0FZiHkZNj+xDCoXhi3VznZOGgKHxZZ35T 53r72yl8VsUS189NxPzKAESR5Q5UrRnCe+T9ITk+J4DAMFzc0D/ijIlQ0F+PuPE5Z8Xx AqAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770127784; x=1770732584; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BOwWE96OyTi1XljgPB9IwZgSnzcIgyGl9oDHpcAgOM4=; b=J7QOddSRawhwgKlbJsgjvV727evC+v4cnWdegHRCn8CxPiA8XBFDDAHhcOgqPvGTPh xNJv8zJaiWp0F+4dBSsT3Hr+9bpOcql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:d1b7:7b28 with SMTP id 46e09a7af769-7d1a5262f45mr8162612a34.4.1770127784126; Tue, 03 Feb 2026 06:09:44 -0800 (PST) Received: from [192.168.1.150] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d2eb466648sm5422483a34.25.2026.02.03.06.09.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Feb 2026 06:09:43 -0800 (PST) Message-ID: <0b9539f3-d30e-47ba-b577-8b65855a05a0@kernel.dk> Date: Tue, 3 Feb 2026 07:09:42 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 0/2] io_uring/io-wq: let workers exit when unused To: Li Chen Cc: Pavel Begunkov , io-uring , linux-kernel References: <20260202143755.789114-1-me@linux.beauty> <17d76cc4-b186-4290-9eb4-412899c32880@kernel.dk> <19c20ef1e4d.70da0b662392423.5502964729064267874@linux.beauty> <147b6420-ad85-46b0-a8e6-3cb9265e4b15@kernel.dk> <19c22785df1.288e39fb101919.2611884700541801815@linux.beauty> Content-Language: en-US From: Jens Axboe In-Reply-To: <19c22785df1.288e39fb101919.2611884700541801815@linux.beauty> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/3/26 12:47 AM, Li Chen wrote: > Hi Jens, > > > If you still want a test, I'm happy to write it. Since you've already > > > tweaked/applied the v1 series, I can send the test as a standalone > > > follow-up patch (no v2). > > > > > > If kselftest is preferred, I'll base it on the same CRIU-style workload: > > > spawn iou-wrk-* via io_uring, quiesce/close the last ring, and check the > > > worker exits within a short timeout. > > > > That sounds like the right way to do the test. Preferably a liburing > > test/ case would be better, we don't do a lot of in-kernel selftests so > > far. But liburing has everything. > > Thanks for your suggestion. I just adapted my local test program to > liburing and posted the liburing PR here: > https://github.com/axboe/liburing/pull/1529 Thanks, merged! -- Jens Axboe