Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.198 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796145559; b=1981MDH/LfA9FbOCYa/0FamWXKHfQQEmBMRoKx9SahxKl3ePlfgOypLB/fHl0iH1bLKw Q0OCBwhkPy3IhmvIrcrzJ3JxJRFsNN9Y51zwuidw8SdyXAEgueeJWvLnZ4MHk2yYy44/f JT5Ov6PGZktrbP1VsGZ4GXzaniig+/+v161P1KjunTU3Y4teKx1VDpXgw65xprKb8Mht8 Z6D60maGcPxYfztfC3U9hhH8OIbVVSb9KM2hk2g299T/z2WjMluHzykePstZbdiNZaN5e o+OTDzoz+HVtXMdtCf1tmIPkRoP2c9UyL0AdpGJ5bhR8/XI5qLeR2UVGGZuzAA3aTgw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796145559; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type:Content-Transfer-Encoding; bh=42mf9neKgj7fPC7thl05SGKBd57VxyAY2kdUmXdM8O0=; b=PL9pWSDC5fE29/3tcMoqhsOjrrAsaSeA+iFroU01s1T/fz5TggEKByQKXlMmY6qBixF2 vcQsdTwLjlT5o9rmG1zHzN2//ZZNwmccmf4NRppSV2uOCx+XeefEmbk68bEBbuqoikX5l H+CiLi7FsoXLGPefedGlrAliSCc1bUSwPHP1xKsNiywtRFJGwxoE2booJcSa5d1cWqDjB sDg/DduoG/6yNxZnI4N577RbTc6VdCnmKy6j/OlcJ1jL73tJFSpeBMw7kheI5TKZDza3C ztnAgwivI4qWr06khRra1mHEitTPmJtGTG+n6nEbcxrgGGnhN66T0La3Okr6o4r+iBw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--zhenwenliang.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=IB1npD04; arc=none smtp.remote-ip=209.85.167.198 Received: from mail-oi1-f198.google.com (mail-oi1-f198.google.com [209.85.167.198]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B8F1606A320 for ; Tue, 1 Dec 2026 17:19:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8B8F1606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--zhenwenliang.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=IB1npD04 Received: by mail-oi1-f198.google.com with SMTP id 5614622812f47-4c55ba309c2so13704581b6e.1 for ; Tue, 01 Dec 2026 09:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796145558; x=1796750358; darn=vger.kernel.org; h=content-transfer-encoding:content-type:cc:to:from:subject :message-id:references:mime-version:in-reply-to:date:from:to:cc :subject:date:message-id:reply-to:content-type; bh=42mf9neKgj7fPC7thl05SGKBd57VxyAY2kdUmXdM8O0=; b=IB1npD04VEmN5P3qLFTjBzuLwqO+bwmsZ5DGIeE8CY30gGicWBTFX4jeurRncvdXfx NyfUvmF9wIWpl+aLdTbrMeVPh4i3TcWKfzffIf1hspA6MW/5dRP3+8I+PapFUi6YCC0J YgglPhxEfbGMJf/FkFO/E0sCDb5J28t/ohLp6NL0OzfwoUPxCVGY8A8h5mf5baqotofL KfUe6ajdIANq+LYj/wcHUsMsPC88tHwyGQVdwe+snbT+4QoKZeIcmOfV7PgLsFU9dk8d L/9HGdki8+M5sV1h1UffieZLPeeDG44ewTUnR5CTrV0oaZXbN1HecQb3UdY1xqLCV98x Ilow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796145558; x=1796750358; h=content-transfer-encoding:content-type:cc:to:from:subject :message-id:references:mime-version:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=42mf9neKgj7fPC7thl05SGKBd57VxyAY2kdUmXdM8O0=; b=ifhu/jGQABxrCQ5FDrl6qhxvy3MtNeYOMUnj+gOzoC1TY4/fLomvMfsrSSsfJG86Kz qHG5UIhLEP3WNA0AWMn2dxOCE6P8fuh6qK7yAUY/ChY1nrjghNtPELB9i0AxFLTznqnY FEG94FRhgEU4V0jbZVLHuJ7kw33DQVFEBruL56IPk3Tw3pSaGj2pAf80CLS9Veibwd2K B9IMcdUYtUDpkAppevl5MaKQzAeg3djGJh7hrlhnWHWJ2D9vs/vNH3FP0ED4B/h8ns/V 1XFmu5NDoTJbW434tfJk50jfSqC/Pdi2poCc8gb1WaGj3OnBEX8vulhKhR+f8zzxqxua 9p3Q== X-Forwarded-Encrypted: i=1; AL+hErEN+OF/qfcb7zvtckSTC+4K8jPRRMq1RyqE4o01+v1hIK8t2nb3vGxkJNx5RNhdy3EQKT/cG0JTld1N@vger.kernel.org X-Gm-Message-State: APuU4Z+ch4ijwtZsMPJSMXEvzc9d+HshifytGM1Pf+AGjc//J39OlmcB UbvxQOTdV+gQmg2BNJV1apphpk5jbCAyg5Uu6tr6XYHeJbjBii61+swU+xJw4t1NiR07dXIskPn EuQZDru4cEvlfq3aQt1jT6Q1JzgD27w== X-Received: from ilbeh26-n2.prod.google.com ([2002:a05:6e02:4c1a:20b0:50c:2841:18fc]) (user=zhenwenliang job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6808:319b:b0:4c4:28a5:1885 with SMTP id 5614622812f47-57a07d175fbmr34141697b6e.9.1796145558159; Tue, 01 Dec 2026 09:19:18 -0800 (PST) Date: Tue, 1 Dec 2026 17:19:15 +0000 In-Reply-To: <179614365498.3146.898864177949613339@kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261130164729.981519-1-zhenwenliang@google.com> <179614365498.3146.898864177949613339@kernel.org> X-Mailer: git-send-email 2.56.1.911.g883d8bcb20-goog Message-ID: <20261201171915.1974397-1-zhenwenliang@google.com> Subject: Re: [PATCH net] net/rds: use wq_has_sleeper() in rds_transition_frwr_state() From: Zhenwen Liang To: Allison Henderson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , Simon Horman , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Dec 01, 2026 at 04:47:34PM +0000, netdev-bot+sashiko@kernel.org wro= te: > - [High] The patch fixes only one of the two unordered wakers of > rds_ib_ring_empty_wait. rds_ib_ring_free() is fixed by a separate patch, which Allison has reviewed: https://lore.kernel.org/r/20261129024701.277838-1-zhenwenliang@google.com/ > - [High] The wakeup that the patch makes reliable fires before the > shutdown wait condition can be true, and nothing wakes the waiter once= =E2=80=A6 Right. Every caller of rds_transition_frwr_state() still holds an i_fastreg_wrs slot at that point, so the wait condition cannot hold there, and this patch alone does not help. I will send a v2 that wakes the waiter after the slot is returned. pw-bot: cr