Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) (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 335E847ECFF for ; Thu, 4 Jun 2026 13:55:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780581317; cv=none; b=Km38oJemF6RZ6iuZE8B55xKTv+uX0nSw2NOT1O0J4F5u+mOZEuq2de+Cff/vuzc7dkVsiYvS/dx8puvC44cR+8AR/DETCqxluc18RDYVHAs3JQvmY8RKFx+K/R6SmeZ4jON27U34mFtOcdKb3eyA/beWZ9OdvjaWvJJLF/uXF5s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780581317; c=relaxed/simple; bh=iF7WCv4wmE3jhYpLVuN3TOW+xLwQtrOWCAJnqZuqxcY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=c6eicQo2taWBgHVHhfAjlXnM8Wq5+RRSJ2ryOCqr6Yetvxa2amTtgKzkETeB98G/BSaFy5vd1l3Huy5kYIBm+DoubSpLhKF150Ti9HpG56Wqh94V9nAkkETjNObVjEkAIuagS7Wl/woYB449s1GQQCtbltWOvPE48FaPpuMKtSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=jf/A2ekO; arc=none smtp.client-ip=209.85.160.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="jf/A2ekO" Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-5174a3a025aso6946511cf.3 for ; Thu, 04 Jun 2026 06:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1780581315; x=1781186115; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=n2gwWaDWtdfpLdLmO97cF7KayysA1VPOkDxjxrlqS/U=; b=jf/A2ekO2aTUp3BmaM14X1wDQsLGFMqEQbO80bIXLPyMmkzVKj8aVuEbwJP5V5kp4R 7CqGE8k6PYKrhfhKw6x6gwG0XnddmB7huKvWy34EFbKpu/MsngVju9AxgMiLTkv3v/sH Rn+ibf4LElgp/l8MLRwn8gi6ahGVl/6ipEP5vlaVksDkoK0I1O5AhVki9Tn4nsdUx/Fh 59NLaLve6usTOLP1OSXb/qqLx9h86m0S4fGH4AHTHoqnxKzHQIHt/2SwQZQz6xiKS/V5 /NlQE2OKuvqK0NMTharxZBR+tJGlbUOwKk91blrMczto5yK2oATzUGCPm+YxWKUY7VDj BT0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780581315; x=1781186115; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n2gwWaDWtdfpLdLmO97cF7KayysA1VPOkDxjxrlqS/U=; b=FYrdOotWuslxRJUw297aPxT/+bqNh57JF7nbIPphv2kTBOVcApeYIb/LbLetXMHd9h kQtZzb58JNutGhge47PCw/vxEIcb7Txom+vTRbg54efjVklAgG/6EZBlKrEUNqwC9T1A VousPNxSe+FlHwJlZ7eoYcEx7pHcGtxir9miP3T6odaqt3rHpu1S1Q1U+189wxnwLWxd AmuO1wm6mFkPaAU8ZzNk7I8Y+xMAPIX0y4EIWx21FMOWmdFyzGyTg2UAiotfs0YEn0o9 YIA+17PWeV1M+cDmMtrC75YqOqdTQQPfUj3xFykVSHdYsT+y6BjFImnQU8qjXHcYgIov bleg== X-Forwarded-Encrypted: i=1; AFNElJ/Lu89S0WvHERYDC77xpk2r4Th+Ks3HfZe7xgWg9IOSJFQwIeQoevY+j7AIBQsesSAINerp0l4+lQgV@vger.kernel.org X-Gm-Message-State: AOJu0YwCiyPWhPN+qC6Zfj583ZLcsuqFM6jzHitp14Qw8yWnZlC70b5W sefBWXqA5aNvvGbat56uv9BeO9Zz8gR2dIz2+VguKYON+mo0XEHSpyhC7KlL1SL/tW4= X-Gm-Gg: Acq92OG6/+w+mPjXcYDWjKmc4CwWa7v0Biv03CdAbbLH/2bQfAZznuzMF0BEoeNPX/h HcMszl9iG6f1jLCsTzpJoY5b0FqLY1iqJHzCsgX1oLqpyywgJwBYyjgfbNB30F1sdYvXIjS3Gk8 slHEcMRwjjuij1H2mL9cfvW7zvWONds1yO+eCkmp3GtC8xGq+zTodXzWufAXQmQIHtx/fqPROSr +xO1xg3CM63j2wu3+B+mBCOQW8evScvDmhbD5EkuTNMKgs6VEriESIreg52hWEDCJMEZ7yoOq4w FUMYuyWdfu4HSW+q3S1dCz5JLX6Y/KklkL5j4E5W20L9QW7ueUlJQB5CwsE1zgSSElbldc7c59T F9mHGdB+KdXpQODZCnBfd0r0PmwAJo30ElBg1zNH6EppCOXyOztEZ0YvwckwYYZFkCMmPOJ5t6s 9OSGyY8Voe2vMz9Qxv0COswN+RgfVl7Ovp5MupLBJ8G+YmjVLUIAtKdrd/AT4S2vJ+bCG/4Viv3 NaI4kyGVrqxAvul X-Received: by 2002:a05:622a:1c19:b0:50e:5ffd:deb9 with SMTP id d75a77b69052e-51778696aeamr109514391cf.31.1780581315064; Thu, 04 Jun 2026 06:55:15 -0700 (PDT) Received: from ziepe.ca (crbknf0213w-47-54-130-67.pppoe-dynamic.high-speed.nl.bellaliant.net. [47.54.130.67]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8cecd263003sm53394316d6.42.2026.06.04.06.55.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2026 06:55:14 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wV8XR-00000008FXK-2ZEe; Thu, 04 Jun 2026 10:55:13 -0300 Date: Thu, 4 Jun 2026 10:55:13 -0300 From: Jason Gunthorpe To: Jacob Moroni Cc: Gui-Dong Han , krzysztof.czurylo@intel.com, tatyana.e.nikolova@intel.com, linux-rdma@vger.kernel.org, leon@kernel.org, mustafa.ismail@intel.com, shiraz.saleem@intel.com, linux-kernel@vger.kernel.org, baijiaju1990@gmail.com Subject: Re: [PATCH] RDMA/irdma: Use acquire/release for CQP request completion Message-ID: <20260604135513.GU2487554@ziepe.ca> References: <20260604083440.426033-1-hanguidong02@gmail.com> Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Jun 04, 2026 at 09:41:24AM -0400, Jacob Moroni wrote: > Makes sense to me. > > That said, I wonder if we should just get rid of the wait queue + explicit > flag and replace it with a completion? Yeah, then you don't have to worry about this.. IMHO the driver was following a fairly common pattern for wait event that is indeed probably incomplete. Jason