From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 8E856522EEF for ; Tue, 13 Oct 2026 20:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791922165; cv=none; b=pXPdeZjs0RuYUmbLGV3SMkbP/GlIfq37vt41qZ55QPB0mhU4WquixyrfMio/5DonkiBLt5A3XdggFK93kWjTmnexrTG1LA2OR4QN8i1/vQPVxbxSUTdtDwKUgEhZyhx0ZcFuQCHj+MCgOiUuujj0n1hQZql7bDNfm5Li96b6fF0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791922165; c=relaxed/simple; bh=NrenYkyGWgfz/6r9jzkmCjYiJ49/s0j3/93r31ckaP8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=s3lxKAFho/uzpc/FZGPJhvme1Za9tN2I6Nr2CaBf06vvM00PZ8ts4mHemHuzgkvxeJ0fpnCGmBBwZHGiAOsye8877BTtiEFkpk2GOGd0FLg30r47KY0YcwKESCuYwJMyQzJUCmHvlipHZqalMti7wCIH+p9TSVcSeUX6Y8otrkw= 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=LnXe7AuC; arc=none smtp.client-ip=209.85.221.51 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="LnXe7AuC" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-487049569b6so2371695f8f.1 for ; Tue, 13 Oct 2026 13:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791922161; x=1792526961; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=v0gpLt7+oS9KQUHShMJeHfOIQi0PPRoxYfM2szDl9BQ=; b=LnXe7AuCdnyYnpb6vaGdKk9dNPmYvfuTLMnncmlSHO3bm6LdV5oOFFQ/Hul0fKBMet W4nAlbEzoX6HWs6HnCfIDeznmSQmwClyMr+jPICKPEmfXXfo1VXB4SThaFthNtvRHz2l HHSAdyzffbMi5JM4yQNKCGSJ756lqg0vmqcnbXSXqkoyzk6PX1CcwWQ8nWsxyFJjO7kh zbyj/rZBdtDTsaj8uvPhVRtp1Pj6fs4jAY/Kor3UfAKz9mhj0LOQB7lA3dlzUv0TVBjb Q/YthV88wTO4zlFoqnWJRd6MrLdEGTJJklZuxP6/fEkNK1AYgF5rFdACujnJqp1sNibz ckCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791922161; x=1792526961; h=content-transfer-encoding:content-type: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:content-type; bh=v0gpLt7+oS9KQUHShMJeHfOIQi0PPRoxYfM2szDl9BQ=; b=E/xFPsaeQNkgFHb3Oj9CNj+O78xnCXpwJLdh6T2bMfobEj9wEFbhPT6E21EexbQUwS RC/xUwk0TsZG6VTq/x5yR8i2YeMDt1v+mDDYHTOmKJSTeihg0xcTryfjgP4sYr1uInXL 8cbwGjNuA45bPvSg15iI2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-Received: by 2002:a05:6000:310c:b0:487:8b9:526a with SMTP id ffacd0b85a97d-48dbacdaa60mr25864079f8f.36.1791922161609; Tue, 13 Oct 2026 13:09:21 -0700 (PDT) Received: from ?IPV6:2a01:4b00:bd21:4f00:7cc6:d3ca:494:116c? ([2a01:4b00:bd21:4f00:7cc6:d3ca:494:116c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48de0ab5af7sm7243430f8f.31.2026.10.13.13.09.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Oct 2026 13:09:20 -0700 (PDT) Message-ID: <293d49fb-6488-46da-bd3c-6f8600dd123d@gmail.com> Date: Tue, 13 Oct 2026 21:09:12 +0100 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: [PATCH v9 00/13] Add dmabuf read/write via io_uring To: Matthew Brost , Christoph Hellwig Cc: Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , Keith Busch , Sagi Grimberg , Alexander Viro , Christian Brauner , Jan Kara , Andrew Morton , Nitesh Shetty , Kanchan Joshi , Anuj Gupta , Tushar Gohad , William Power , Alasdair Kergon , Mike Snitzer , Mikulas Patocka , Benjamin Marzinski , dm-devel@lists.linux.dev References: <20261013141046.GA12680@lst.de> Content-Language: en-US From: Pavel Begunkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/13/26 20:06, Matthew Brost wrote: > On Tue, Oct 13, 2026 at 04:10:47PM +0200, Christoph Hellwig wrote: >> On Mon, Oct 12, 2026 at 02:21:41PM -0600, Jens Axboe wrote: >>> I've queued this series up for some testing, in a separate branch. JFYI. >> >> More testing it obviously good. I've been waiting for addressing >> of the Sashiko comments on the nvme patches before doing more ACKs, >> and while I can't really judge the code those in the dma-buf code >> also look somewhat serious. So it would be useful to get them addressed >> and the series reposted. Same for folding in the PI vs dmabuf fix >> from Anuj, although making the combination work would of course be >> even better. >> > > Oops, I forgot to look at Sashiko's feedback when I acked the dma-buf > patch. I think the two cleanup issues are valid, I stopped answering to sashiko as it repeats the same from version to version when false positive. Those two are warning paths, which should never happen, I'd rather leak than crash on double free or so. but the reclaim-related > ones are not. Thanks for confirming, you already elaborated on one of them in previous revision, the new one looked to me as the same class of issue as well. I'm not sure why Sashiko is confused here. > > I wonder if there are some shrinkers in the tree that incorrectly take > dma-resv locks in a blocking manner. They should only use trylocks in > shrinkers and direct reclaim paths. -- Pavel Begunkov