From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 7AFAF4A2069 for ; Tue, 13 Oct 2026 20:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791922165; cv=none; b=WAntfq1EoK389W4rs2BAekCf6ZtC/mCslsND9aO4YmlLvf+Y2IHIw7cy/4mdH8znd2GqkbDNFN7npn0HYQi8eSUy5t8Jqv1lnYsk4QBtmAHdwI4HiiMByt14T6xUM2nbKa5my5M/nkfU4t8ULN1xWb/EWYtDQ0puShGDdbC8DJE= 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.53 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-f53.google.com with SMTP id ffacd0b85a97d-48afcd7ba9bso1907239f8f.3 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=yj1puSy5SSn4+6apPR/1pED1YCgDYWBftW9l/uWbemzGtpx4+HfdG67fyhx08VuF02 CuYQxrhhn5Vuvl0kPZ/I84U5/7UQM/qSZ5xg2Gcd+ZyN5YDw76+hJZzOHxZOo+ILSZMS vIEO7ebn2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/sZ3rQrdM7KUeEVxo0PLkzb/NmRMQicc X-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: linux-block@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