From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) (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 7AD49360EED for ; Tue, 12 May 2026 20:04:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778616300; cv=none; b=Bk1GGC4tsHp66yfZdz0Gcme/dFjmYOzRtTskrvkxH3vO8yJh/EU3b7Fk3OuZ+dPUOKU8sVKP6voPUM8Ej1WhL8t/lgfo4P9XLDTd3nAm1XWHPn0zodouAaGVkpqMuHdFiQ21aJvCRlAl/klDfLThO2+I7OKHGRC6Gp37qLDawyU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778616300; c=relaxed/simple; bh=U149B7jOZDbYNaIBagtJTBhvtJfw5mB1hC2QAke5b+Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KZxT37MHrgOS51NtEJYPYPWzdogAnzK2lc01gKFyShPVk/HyS+xLB5k7ZcBDSekAXtGuMJIcazP9o3XvQMrGbXT3vbifZOSEIH/vdJPvtQ5lpx+HjYibZ7lsyMGoUUsEC/Eb3QIdULnYyJDdPmgwXXtNKWd2GuKMKIyEwzbBYFQ= 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.20251104.gappssmtp.com header.i=@kernel-dk.20251104.gappssmtp.com header.b=a13TEH6o; arc=none smtp.client-ip=209.85.161.48 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.20251104.gappssmtp.com header.i=@kernel-dk.20251104.gappssmtp.com header.b="a13TEH6o" Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-6948ff6b006so3575346eaf.2 for ; Tue, 12 May 2026 13:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20251104.gappssmtp.com; s=20251104; t=1778616297; x=1779221097; 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=ytaRvGyzRvrwPfExsZqDRmrBerTbe0eDzEQ+zX7gEI0=; b=a13TEH6o0QX8YWFboTTIBE7Au4HbM8Pf/JRakFnaXLJRXlcgF0YOZEK2I7wrajtl0k mREGo9aI1zCrKTI335CwbOz1xkBzQ6jxQEZFJPbrxEAGea7yd+mcl1YBgqeBGsV79UbJ /rpUpM1mS5V0eNS7yJJ0Xgtsnp5xEyvDka7gk4WhHs9T/sOkvH/GRJSHLKs1PhJehuXJ eMMA5KEzE0+d0q20xcibLAtJ+k6vl28UeF/H1xuwHZchzzcC5wP/KdJvYPSpzL/7c7XW 3STgY/2QmYeLSzn4yj5q9OEBR3YcArGrUCyLSTbFX3zru2v4GGgmH3zm4wjGbM6bAmlW 5ydg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778616297; x=1779221097; 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=ytaRvGyzRvrwPfExsZqDRmrBerTbe0eDzEQ+zX7gEI0=; b=hHCT4aK0lQNbaFSThGt91Kb30CCwcUAP4cZlhKKeUuuwkgfXefsyUO6Ev9VSzofYMP 727PZ0LjxweFHW0+IDkXrmE+/6FLqK6JioY3FStCnZEWhp/XirdWgejxaBxl9oeUrTQ3 VLBvGlWblIEPC4Jc+0y2Nfd3jHrdjZFuoAmLlfVts1kwlzIIkLHgMN0OpXvaiBsIylp5 VLEjnVKPnqbl/Kz6v82UsQGAwH0pso8JrJB7kf7/hAoDtCnfNQ8j5d2CXYjKm5vYgAjK jZk+M+YOwcKl2waKrTkfk7gQvb9WeTLLlL/8lQ9gersfV/O5H2Q2iHtR6umy1r7Qhr3P R2Lw== X-Gm-Message-State: AOJu0Yy4RYKvYU5m8oxg6HELL+PFl1k5e3e1cFQNpKzFqr+IGsNFLIoB caSXkS1fRxa8iKC+71nE/wl+O808QigqgaV8DEj8XoTT3gldIj+J1uXi4RizdIgtCws= X-Gm-Gg: Acq92OEQOVCZM/LP+jbbILqcw4wlV2uadCyjVKGsseeNwM0dpdzb5KYwAXakB8gkhGu +RvmmpWIVAt7U/e3a/wiYGrhw0WnETHbKJyjWPK5Qt3mDNRNh+hZSiOOwcaGlO2eFcq4Hige8h+ cX4hca7oelf9McFpWF9GbL4VIPerashYGK7y0ZhUfqoG2O/p8A0hp/YDjN3oqXB5nHbmvPhnwJc 0UPdeR3jqIiRJzoyMb/m5scWxAqH4rZ5TTgaA+TFIxH39rfLkkaGcZc9ieo8hFOQeCen2wM/CJn aoNRh05mq88gdIdWmBWV2BzeKV7cDOOdLMXbgmps5bRV8O8m/F/T2sK3BBYkkI2bvDKtEKO9Tpy T2dgyBeS0+c3+0CZiwXXcyBxTuA7re0Sfrx7Sp0qlOjMKB1Bv0cArHC9b+P8pr2sE9mf1ML/nQ1 zTxVlq08DoGh7U4uHg13z6nDi1vw5PKEtwxq8bhn3+sGucT7FFJhJHPSowU4s0PxYFY9LUWmjgw HMTGEhPEA== X-Received: by 2002:a05:6820:1527:b0:696:72c4:5db1 with SMTP id 006d021491bc7-69b78d002e3mr201665eaf.14.1778616297483; Tue, 12 May 2026 13:04:57 -0700 (PDT) Received: from [192.168.1.150] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4355736f517sm13670314fac.12.2026.05.12.13.04.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 May 2026 13:04:57 -0700 (PDT) Message-ID: Date: Tue, 12 May 2026 14:04:55 -0600 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCHSET 0/5] io_uring related epoll cleanups To: Christian Brauner Cc: io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <20260503085101.112698-1-axboe@kernel.dk> <177861542127.846060.15247420422293788438.b4-review@b4> Content-Language: en-US From: Jens Axboe In-Reply-To: <177861542127.846060.15247420422293788438.b4-review@b4> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/12/26 1:50 PM, Christian Brauner wrote: > On Sun, 03 May 2026 02:49:11 -0600, Jens Axboe wrote: >> Hi, >> >> One of the nastier things about epoll is how it allows nesting contexts >> inside each other, leading to the necessity of loop detection and the >> issues that have come with that. >> >> I don't believe there's any reason to support nesting on the io_uring >> side, in fact IORING_OP_EPOLL_CTL is a historical mistake, imho. But >> let's at least try and contain the damage and disallow nested contexts >> from our side. > > I can stuff the epoll preliminaries onto > > vfs-7.2.eventpoll > > which is where the refactor I did lives and you can just pull it. Sounds good to me - I'll send out a v2 with the rename of the struct, then we can proceed from there. -- Jens Axboe