Article View: linux.kernel.netdev
Article #10826Re: [PATCH] net/rds: drop the device reference for ODP memory regions
From: Krzysztof Kozlowski
Date: Wed, 04 Nov 2026 07:11
Date: Wed, 04 Nov 2026 07:11
62 lines
10271 bytes
10271 bytes
On Wed, 04 Nov 2026 02:28:10 +0000, Wentao Liang wrote:
> rds_ib_get_mr() takes a reference on the rds_ib_device with
> rds_ib_get_device(). The FRMR path stores it in ibmr->device and
> rds_ib_free_mr() drops it when the MR is freed.
>
> The ODP path allocates the ibmr with kzalloc_obj() and returns it
> without recording the device. rds_ib_odp_mr_worker() only deregisters
> the MR and frees the ibmr, so the reference taken for every ODP MR is
> never dropped and the rds_ib_device can no longer be released.
>
> Store the reference in ibmr->device and drop it in the worker after
> the MR has been deregistered, which also keeps the device and its PD
> alive for as long as the MR exists.
>
> Fixes: 2eafa1746f17 ("net/rds: Handle ODP mr registration/unregistration")
> Cc: stable@vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
> ---
> net/rds/ib_rdma.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Multiple things here:
1. Your team ignored completely previous feedback. Multiple times.
2. You use multiple identities with this email address, thus I doubt that we
speak with an actual person.
3. Your bot does not even bother running checkpatch, right?
4. Nothing of this was reproduced nor tested.
5. Finally, the same feedback:
You sent multiple independent patches, to multiple independent
subsystems. The amount of these patches clearly suggest this was
AI generated and most likely not tested.
More importantly, you sent all this work without properly organizing
relevant patches into patchsets. This makes reviewing difficult
and might cause multiple reviewers to address the same issue.
Replying to the entire set is impossible and requires handling each
patch independently, instead of applying or discarding the set.
Maintainers also won't see the bigger picture of your work. Quite
worrying.
This is on the verge of hostile patch: bomb us with so many
contributions, we won't be able to handle them in efficient manner,
like responding ONCE to ask you to slow down. Considering all this
is untested and LLM generated, I have even more doubts whether this
should be considered for review.
Please read kernel documentation BEFORE posting more work. It will
explain you how to identify subsystems, how to organize your work per
subsystem (so a patchset grouping multiple patches with a short cover
letter), how to document the issue discovery method and what was
or was not tested.
Best regards,
Krzysztof
Technical Details
Message-ID:
<20261104-invincible-flying-agouti-fbecd2@quoll>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356243-linux-kernel-netdev=dewy.ruReferences:
<20261104022810.1484182-1-vulab@iscas.ac.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356243-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] net/rds: drop the device reference for ODP memory regions Date: Wed, 4 Nov 2026 08:11:50 +0100 Organization: Usenet Network Message-ID: <20261104-invincible-flying-agouti-fbecd2@quoll> References: <20261104022810.1484182-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3345257"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Q7s6vkQ805BOG1aLOLYmvTDFi5I= sha256:7e2ZI3+N0xS2QExmN+nIliJhfQo8ud32y2p21QR8ptc= sha1:lFfgs5e1tXkcaBUIQhE1zebGLWk= sha256:BL0H3jqi+2YjkiQzWDHKC7ROIlhp8FNMoaIwpUTomxY= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id BA066112B11; Wed, 4 Nov 2026 10:13:36 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Io3ExT-OzXAF; Wed, 4 Nov 2026 10:13:33 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-356243-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 27BD9112B0C; Wed, 4 Nov 2026 10:13:25 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 664AB26C25; Wed, 4 Nov 2026 07:12:04 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793776320; b=IFhZ0AGjEEINDXDszkK9RDErmAAqqEDJEOAUCXP3rPCf3H20cm/vNxC6+lrWvwCqGWYO QJM16QlUUbg4d9LFzaS5tmyyytZ0fMoqrlThwPBVhhMhu9Hb4a9P6sqWellLBvizdN5oI 1UtydLWgKgBpaxm/aretuBkGsF573o0ZS2V6JSxgnoQD+gES9ghq4naBL5zzlh1ui5Er7 nkHJDJJ3H2ER+flP2poOm1tGuwri/otPaMvH5WpILQZI0P4BXpcEjBy/ARM4Oo8slNsPn TC8W5Ig/k5qJRgADL7cDTBIowRWSFcJV7Lz2faKSk4LkUYcA45Rv41Cr/z2l5vBULTg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793776320; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=b8As2EoG9x8Tl2CWTFOn4J47dWkvfEM0iQdBFybeGCQ=; b=TvUbfCNG2Hmoh959q4OCaBybuox9cGER/A3zHV7AnP+7P+5vecBXLxIyjyhtPzzzVhag 4SZ6jeh3/zoEPhi4c1DGnxi5dn5ysAagZndYn8cikJQ15JBT7oNDNiFAFNir06nGXXmbM vD7E++XDtv0R68XtmCvZWbcaUt8UR6ldWCVqP0X/BCY09WaDQQeEfK/t1OAIICvWAvyiH VeyOXC4qXsjlKfaPMTKO/7JfQQ4qYBQOOS3Kelfy5wk9KVz6QxNxdWZjmk2rfqSr3EV8l 0g7e8G/iEnnjcc9q31Z/YTAdZptB/UpFuScYsfVNOpYAnrNtdTkRkFm1Fjwri8szeyg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AYih+uwX; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97D50606A328; Wed, 4 Nov 2026 07:12:00 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AYih+uwX X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793776314; b=5rtuMg4icCAn29O7OdENvt9ivrRxpFfQjdl3m3ncBJdzMivxEFI55LwiHLgD3t2dYKjI xMHferIzJce55iuXMSItxYoHwWIhrsfhE40uAGXQNzGcCu3EKHau0rHpofZUXY8gWDTcH CCRveVPHTQ6ge57FHL1WYu51rA7L6Fc0bYLgp2IOb8Qn5fAo1imKmdMsRL4UffjQADSDx fS2tOcdSg44jc/IjzS2dwEb8I2CEZ4yDjkjESpomNdQqksvFIG078CXAavuEZ3ew8Y0bZ RZvz+Dxa/56Qbs4fPkcAwLX4lai3cvzIxiyqHf/JBHKPLOzcafzcPyEUpCSgP7qUFqw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793776314; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=b8As2EoG9x8Tl2CWTFOn4J47dWkvfEM0iQdBFybeGCQ=; b=xwNp6BPTdHwpvSiur/0yE555U3z/tTcsYdLmxS5do02n/9UqcYpnsKUev13M/PMCYiqA yI6mZvvR3xtcrpIIwT1rPLpdR1KiTsyLsmk6XpVmnPxjElzN8Q4/JKk/EoA1c4a+4B4qN v17Rp/eKxesmLjeBBbvx2OJU9WsQXco9gUmEQAb44j9aBMqvY4lYJn5drAu9xqVAqd2hd u2s4MJeXiaThsofrd119/UDaIYpQge929lgnnfpAAx19hpbeHFszETX7CIfz80zguiWWU OxSs5FYSBFKm1AuyapcavrI4bMnTlxQJHXsrC1ahZ5yPEftaR+27YKnogw38XptaSIA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AYih+uwX; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7844A606A31B; Wed, 4 Nov 2026 07:11:54 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 094921F0093A; Wed, 4 Nov 2026 07:11:52 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793776314; bh=b8As2EoG9x8Tl2CWTFOn4J47dWkvfEM0iQdBFybeGCQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=AYih+uwXmkzj09KGHDETie/kyqpTI2WQIjdZHIlpyfIiZyvDdbTf9XDp2eA5HIseo ltmVAoG9K1HXAcLT/Yib/DyOVdCi3U/eyoqHI/QvYJ+CiiH/heX6x5EQJeMr2XVn2U 5A9+IHiti5y9QOqzK48dFAv0+7xuQ7hk8x3hb//v1i4k400eAJ342MwLAvyVGWKOh0 XpizxtSN52iAP0xV6WFCo60UQrbfgm8n/Tzh/b56NKZYcpUrN6LhdLjHJpaBNkBO6a VkOTAXM8uUZ9L3JW4BY+5i2UXKMkg9yfEmTU0obgl2AJSfsb8jTjGZT15MOahsNKJJ BwYYdgLAP/gHw== X-Cc: "David S. Miller" <davem@davemloft.net>, Simon Horman <horms@kernel.org>, Paolo Abeni <pabeni@redhat.com>, linux-rdma@vger.kernel.org, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, netdev@vger.kernel.org, Allison Henderson <achender@kernel.org>, rds-devel@oss.oracle.com X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261104022810.1484182-1-vulab@iscas.ac.cn>