From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 D8BE2340404 for ; Wed, 3 Jun 2026 23:01:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780527690; cv=none; b=c9daOEt/EOtoBiVocVxujWeEIwHizQ+dUipO9bYEVMiP07/eHYyqegwdR8kGotlXWEJAcAsbTS0gFKC50Vris2OXcpOuw73LFJm1gEv73x0jMuVFkpElkrmreYLo8YaDWmzwFSnThzuFoSE7RC7LL4QZuj/cVTj8UvDGDRLKd/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780527690; c=relaxed/simple; bh=kjRfpHBz6N1AcpGrp9EdxI0+Sil4adZV+IHhFHCAUwg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=I/NpGfzuPzulJ2XYeez9NkN4BVCg4yfxGrCArobewY5DPw6mWFsBUsviTO537H9H6vgAESzwIhQTqiV6+B88YFzzAdjYjJIkB7mdHsIN9/AQbDy7Dbs6rO5PbPBKrd6wXukqqGT1UDXls+aCpL5oJ+XptzhuVdARAzT/GqDPZs8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gSo1igrI; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gSo1igrI" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4903d730b1fso773655e9.2 for ; Wed, 03 Jun 2026 16:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780527687; x=1781132487; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b1JUsgVJ7d9U2h7quy8Vg4SoAkC431+Nv0NzGMCDYE0=; b=gSo1igrI1wL5kJ6UndiT5O9wUnbR1ViIc5P0v+f/a9cvwzfdZslrpvEaunbWa67vIe 31TaaKNtbR+VHWyYehfJqdyRei6AVCW6mqotiAtD2VVx7+q/JglzSRcMdF/851mR8Q7n RNov+1+1zmXH5Csbf5l04SQ4cD+quEhLfsYisaAIg3ABL6f8tB/yGzgW+b8/mkebpG6G b1D/6AytXXY2hZX48piRkZoX2hmOfWlu095Yk7C8kKj1U20o2xzi9U5otCA7VKv0sMtH Y3clBaKa707v8cLN95oQbwUdTCGQea0rw3AraP1GVr0WTrlwgFoGb5TJHEyu0C3YyuCh KbBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780527687; x=1781132487; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=b1JUsgVJ7d9U2h7quy8Vg4SoAkC431+Nv0NzGMCDYE0=; b=U9v/J7hFAttHtCjjUgy0X0FQSnifPczw3mB+DXMAsWXKbduOqVSQAhAHeSOiLn1H5y /35nu3XSLVCbz1VX3Er8XpDIKQ5C10OIEi080yDpOpkw26fhP7tvtGy7SVBHBpOCnqSH 89+sBgIyhMBKZp/I4+ZSkGzx9k08nRecTkqoSPSsehPW6LrMJQYDZrLwGmKAvtFcSKfH NNUZtReqAee/TFZFSnUJUtw/i+qpkqMCEy7W9HCLzGZVbNCdov5qt13onvt2HnvguVNn L54Jc8cX6amBhNo9XYvMe9PphbVsFIRnDGiOjc/vvEoh/defPRMj50bO3gKBVzYZ+hU8 OeEg== X-Forwarded-Encrypted: i=1; AFNElJ9mhdXYeG3TzkAPyt/N97BlpFtGf4i1Dv+zrftH4nRi3fD3YKjN9nsNCpfEGIsPHdMerxKeXlU=@vger.kernel.org X-Gm-Message-State: AOJu0Yx2SMFgYhLym/z0+YdCqKMKJmpq54lbh/ylJPVexKG9uLWwz5UE VXWqC+RM/yhVi0TDiDgmIKlHtkuH+ZL7wQTNi6Ba3Nx6ywWCMAHADz1t X-Gm-Gg: Acq92OGoWlRiwqiYM/eZQj1aiu6ADuquLCOCSCkWaB6fHkcHoB2aNzHISutRRE1ZRyH x5wO/f3QD5eDDLcA/a5okpUMSzzEXEeiN7a6MYFBVk1dt6EkpPSt8jOnR6maoc3JYPLrBkzoojb BmyBYLxr8YWud+zbS5zyZ40XPKQHl2cwpkGb+NwyOAg8Lrzdfwpv6WO9nWlkRDRuwWsdRjfrHh7 SiT2+B9ltezELLrRhsxn/CrEXlNR87Vhm41EnLSkXEZr5/UpfVO30CgnWP3M5TlRTBt8sjy9SSS Vx7jjPwyjqa6F6MTNLWEjKiwTCjgd+i3LF0DRdbn3hoPGAJBING/oqGwiZnW1Uma4WabOJcz+aQ oLlz0UeAsT+dkskKE0mj/vCA7fgf/VtO74yR7L2w95J+STZIji77zCuPiK5mYRHoRzHSH+kSo56 tWrNVbf/zd5GvkKOBPVltiIyCsKjXEPQ== X-Received: by 2002:a05:600c:4043:b0:490:b2a6:8c2a with SMTP id 5b1f17b1804b1-490b5e748e3mr51931455e9.5.1780527687138; Wed, 03 Jun 2026 16:01:27 -0700 (PDT) Received: from localhost ([212.73.77.104]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-490b7e6c6a4sm45890145e9.2.2026.06.03.16.01.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Jun 2026 16:01:26 -0700 (PDT) From: Askar Safin To: luto@amacapital.net Cc: akpm@linux-foundation.org, axboe@kernel.dk, brauner@kernel.org, david@kernel.org, dhowells@redhat.com, hch@infradead.org, jack@suse.cz, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, miklos@szeredi.hu, netdev@vger.kernel.org, patches@lists.linux.dev, pfalcato@suse.de, safinaskar@gmail.com, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk, willy@infradead.org Subject: Re: [PATCH 0/3] vmsplice: make vmsplice a trivial wrapper for preadv2/pwritev2 Date: Thu, 4 Jun 2026 02:00:25 +0300 Message-ID: <20260603230122.851517-1-safinaskar@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Andy Lutomirski : > On Wed, Jun 3, 2026 at 3:43 PM Askar Safin wrote: > > Finally, we can degrade tee(2) to copy, and hopefully this will > > allow us to always be sure that pipe buffers are not shared with anything. > > This is possible future direction. > > I'm a bit nervous that, if I've read the code correctly (a big if), > then iscsi and nvme will still send *shared* buffers via > MSG_SPLICE_PAGES, but that normal user code will not be able to do > this, and that something will bitrot. As well as I understand you correctly, you mean that if we remove tee(2), then there still will be subsystems, which will be able to send shared pages. Yes, I totally agree. So, if we remove tee(2), then we will probably need to remove all non-standard implementations of pipe_buf_operations. -- Askar Safin