Received: from mail-dy1-f171.google.com (mail-dy1-f171.google.com [74.125.82.171]) (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 DF0F437CD53 for ; Fri, 12 Jun 2026 18:12:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781287957; cv=none; b=uumTqX3p5tRiVpuWNSwmKkh+bkDxyU7NYtCqMpLKp5xv/1wF+eNuI/tr+tNzkXV0CABO4LFlIWXbGfj/xu3zXbPxjKs+5l3MrupP88kCN87EKg7tum4EL3liV13/l6vTOdmehD4yYirJchWDFW55pdw9SGNhzJQkVIW8famzvk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781287957; c=relaxed/simple; bh=xsKHGFzTmUa7CrdAiyWqZLLJnKuuUSFv59b4DgwLtO4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZtCmzANv4/SustIUwbTe+CqfarT6jQ0TW3z0pP2EfRObVpy3ubDeVT5CuUNhWHvc/UbUHgCXvk+W6N9n+bT8R951tSN3be6Vjp/xA3hH9TcUyi6UgowCv0zWKS6SH9A8LXK3V/oMfYq8QnqDcJGuF6Epbrxg96jOrBUP8PfO5+o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=multikernel.io; spf=pass smtp.mailfrom=multikernel.io; dkim=pass (2048-bit key) header.d=multikernel-io.20251104.gappssmtp.com header.i=@multikernel-io.20251104.gappssmtp.com header.b=AuZiA2Q/; arc=none smtp.client-ip=74.125.82.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=multikernel.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=multikernel.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=multikernel-io.20251104.gappssmtp.com header.i=@multikernel-io.20251104.gappssmtp.com header.b="AuZiA2Q/" Received: by mail-dy1-f171.google.com with SMTP id 5a478bee46e88-304c520fe9aso2730341eec.0 for ; Fri, 12 Jun 2026 11:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multikernel-io.20251104.gappssmtp.com; s=20251104; t=1781287955; x=1781892755; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=vCqXknT90WE+KHAm0buCIQ/4ggUnZYZuMIR/rS3y26E=; b=AuZiA2Q/uj3Y1K0kVA2F8ueXGZJDebff3H0NLldihOdT3DT+p6GGhkdTx7hUfyhndC wgM8rJdBDinOFqsXnd0LIyBZWLIjfdhqPsbtZqibq5KShiwENgxpg/oo+nT8T2tW2SD2 2X22T83wy3HgVD6d0aRByzferuwZbaq9mlU0wswmuV0ng8+lEPyc2rJeD4l2nctaR7FA EuNzCS+TlII99P5vsIA4BEzvse/qsTmUMIRTTLtRk3a45a8ZZ4CXWJ6fStWmoY5pRHzQ kdy7OvHjtE5suNDNP4WNdbKTdeI6Tbo7b0RHxEdkuqsCcOEqAtHDruTx6WYHCs7GtN5F nDoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781287955; x=1781892755; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vCqXknT90WE+KHAm0buCIQ/4ggUnZYZuMIR/rS3y26E=; b=O+du48r0TxbAc2n4IREC2Uf8Dnvi9/O7qxdQHhVq6rIj29aZHMBkCuy1daHwWohdvW 6LqA3phJ/LvrEOsWeMe+JshB12wo0D7W6CXao+dNJdT9FTwYmIVWBV772db1KuMu1rcd f6puUeRtRYGr9VQQDLJpZsYhYfZOMM/bjhwdmJNCR92XUlLL8NkpHdZ8em+Ib2gsYGYa NV3PCoI6yoeNAHEI/99ROgd1EBqgFCj4eGAydzZrTQFoB9vh1lwi1YsnbqmPjxN7bKKI AxLlbVbbRTquuEQVyO69Rjg/4PS7RnQjXv+3oXbUIapcXO83b8aRmVWG9JtFmWNJU9HD qq/Q== X-Forwarded-Encrypted: i=1; AFNElJ/wE26bBO4Gos01FPKokQTX3r8g1isqm5OIdTXMMXCdnYhyg0kkDYwvtZyEWrz4pOeI57s=@vger.kernel.org X-Gm-Message-State: AOJu0Yx8uttpdRxJ5BpAHJZdCzIibNKaz34YcDmQFmJ0Mj/Lhe4GxDE2 TAHGyQUN9ZRUasneNwoWCBgOtYIhnB5PLmN2+WZOkP3LIIefOiJsuYXhNrA/XE3d016uuk69bXB WgaHGaaP2Zg== X-Gm-Gg: Acq92OGkG8YxFzUWDhLQBCDjK5dxiwEnuK37dIPAXC5AN+wcXmJVfH/j/I90UWqqbJS 54nWv3CmSi4xdUZ5BK3OJSzNSe1sxlI+k7+dYBOriXWrYVqMNvXz8mrsVuMF+X+k/XwlkJwlimx e70Y93V4XRPtQckSclyAbkR3RE66AC4iAHUrgVh381lbAjpBI2HvurrzmD6iQwL89RYLaGmQ3m2 KS6v1XSgS9UB69fHmVlhSHNB6F8TgqDxFjtd/+vnPflXUJwgH8G2v91gu5KqT0O+X16OQK92q25 wXhFL8lNf6/djfZihrUX5117bwhg6cL4J6xhoEixlN1kUZ6vd1PPEiuYE8lQmDLMedGbl81ha9X G99nmNQVH8mnQ2YVaMgzXECVtTz0gJTlS+U3nxRzzRczxGQBiTKtmoobXUfTyPLddDQuBXDVrc6 38/weZRzVB7eMdCx4UYbT0kNPtYHKvpJoxiQ7NZ9p2Lt1tIwSxgTrHHQ== X-Received: by 2002:a05:7300:3b2b:b0:304:e2a5:689a with SMTP id 5a478bee46e88-3093ec3e358mr457749eec.21.1781287954932; Fri, 12 Jun 2026 11:12:34 -0700 (PDT) Received: from localhost ([129.210.115.107]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3081e91f878sm4289832eec.17.2026.06.12.11.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2026 11:12:34 -0700 (PDT) Date: Fri, 12 Jun 2026 11:12:33 -0700 From: Cong Wang To: Alexei Starovoitov Cc: Cong Wang , Jakub Kicinski , Network Development , bpf , John Fastabend , Jakub Sitnicki , Jiayuan Chen , Hemanth Malla , zijianzhang@bytedance.com Subject: Re: [RFC PATCH bpf-next 0/5] tcp: opportunistic loopback splice for BPF-paired sockets Message-ID: References: <20260612011452.134466-1-xiyou.wangcong@gmail.com> Precedence: bulk X-Mailing-List: bpf@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: On Fri, Jun 12, 2026 at 09:01:43AM -0700, Alexei Starovoitov wrote: > Just saying that the code is free nowadays, so whether it's 1k lines > or 10 lines is irrelevant for the discussion. > > As far as the idea goes, I think, it would be interesting in pre-AI era, > but today splice and friends are a prime target for bugs and more bugs. > skmsg and tcp_bpf are reeling from unfixed bugs too, > so my take is that we should not add any new features to skmsg > and instead deprecate what is already there. I guess maybe the name misleads you, it has nothing related to splice() syscall. Its ring buffer was developed on top of include/linux/circ_buf.h which again has nothing related to splice()/vmsplice()/pipe(). In case it is not obvious, this patchset does not add any new user-space interface, only a kfunc which is visible to only sockmap eBPF programs which already require CAP_BPF privilege. If you have a better name on your mind, I am happy to change it. Thanks.