From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.197 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796145559; b=fOShbWJOR5tn7/7Fo8lnFga0Vx74QW9OIpCWTG43bIyD/ktv6t/GYH6k2Cq0LRs4d5BP /qYIMlXzGYFNSfMZP9BCygQ85MxMBrX2iXkXzdE6bwDAFpFMeUcezq8+aoIlKKNmR9L5n shtbwUmwwKYfEWwGReabeyQOUt3XBb8hcCi8laaN1EMdHOARk8DnfyLk1oK/CaM60AGwE cCZkHkVQreCIvuta3wI0JnVcjez7ieathwmzeggec5bBxRBgdEPOaR+dwMxPZMdpKrlwy TujL3S49muqSe4OfGZ7AzpIKgBIUB4XU/3UhlEo9cGXVPQfrV38ckeWsm3g6CtLr02w== 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=jcgbJi5uqZB+DMOuV5jNtzLnN1BuARfuYocpYBRVQg7ZWRqRRdk8ypu7NaoYJ6zLqX5B MSTJp4RQ5Cwur9fZoJM9M2IlpPQw6VYeP7bXfCIdCf882wKYcd1scHSKlbt5yHip78dlZ DbTZM/PmyyymsfvJ82889r4j0YjtbKiTWFUg3c8nczjPXvwFqSP61ZoNaK9lwvIaMDB49 wnNzEtLdV6G1D1q/jnClH0BzDyXaBj612eSVnEmwwNkmlDW+Dcvn8qNPkWGYJwUBE7Ti2 7JOLqkWy//EtcpV2Y1sxOjhwdXlcO0AC0wl9u3DtdyZiEe7W3zkaUiYmhcqQIbbI3fQ== 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.197 Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (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 86D6C606A31A for ; Tue, 1 Dec 2026 17:19:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 86D6C606A31A 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) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=IB1npD04 Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-4c55ba309c2so13704580b6e.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=h2vz1Dcl7ZJ/hsyCY/O/QrqZuccEbWdjVOePThe1CX7SX0lmV1IMn2MABclKxI2/KU yZJodmF3lAzh/KqgoKCRTnee24Jk7B6LulHLyQbNXVG3FTlLOofzXr2hpC4LjfkAEWfc 0hzvpUMjbw+sckpdcbPOCFgONvyg07RHrTAG1h/2rhySP1MSAdj53IsBC7sBwQXMDyfN s6cvCcngZIB0SIjRbSTJGhcHw5k3ftU/KTtFZ/UVUTAHCp6w78jeP2P6WQPSpKB35ogc exzYwFPFCu108EKulaXd+CnsAtclR242mPAiEBQ9kBxwpl40ezAnSNM53+3U8vZPyVAj +HgA== X-Forwarded-Encrypted: i=1; AL+hErGrVvzjp0No3hBloq4MTFSQUVMNjMnZSJZmvrMh8zUH1Ofj/rgQ+KUnz7WPvRWHcbHdoePElpg=@vger.kernel.org X-Gm-Message-State: APuU4Z/av5QcEeysZ+q079sbnzGoLYc3t0T3wDpZOkY+bjV4dmktrfTN v0i5bPMfEO0jisTOU/1TXNIrcDeBW4tvu+xEBpLBg/SEWQlPiqG//PbIv7TeDjypMuNC+L+8wJJ JzGcy1eUC/8ezgpWYUCRYuEW39Jq52g== 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: netdev@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