From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CC9541C6A for ; Thu, 16 Jan 2025 19:28:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737055712; cv=none; b=m5iNSryUwdI/gHvLH0Ez69Au8HjuBKZwBtY2YnXyIP/bKUEH+HI4cd0PLbSvSHn6rRCz38iWOzUlW2J8Fi6I2dHW11VCdhbNNurGWz6PxVUc8cWRSmi5C7QGMOJ79vD7tXiBwgCylKwHQHmHvAKYZ09Z6pIHyIOFFxHjk4s+vbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737055712; c=relaxed/simple; bh=d4ggrJYwBJM22DlPdeH7qM+n8kfo7PQjK+LZrtPQnjY=; h=From:Message-ID:Date:MIME-Version:Subject:To:Cc:References: In-Reply-To:Content-Type; b=rz0/Fyqc8Yrr0w1CuxEephlwhtxXQNBu4kI0bVF7xwr/Znzll+sV0oAttfHJ5le63A1wRD6uuFayAwPm/H+g3hUMdbNw5D375NEg5SmFMlybZx/hVMhtRYQPsEN05qQCqIvDEPZ1S7LuEK/9Qz117kIpxKcTOBPq7xUIhsv25z4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=W5UkPsvh; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="W5UkPsvh" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737055709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=frHoy/vjgxRtW7PYGMK4maf1IuzhXhtG5tuBPxLixfs=; b=W5UkPsvhMJABecKYVo7kOUgaIBJ6B5McPpqSoh39/xM8/9LUpGoGPieFCATEC8dX8lbNTf cb1iFVm+fud6MJQld9x1OjyG4nLYJUXXQAIg4D18DZ1DcJ10WAwXCD40BuwxBaMCTRt1dz JzjA6GQOu5khbwCzsnrP0dzonCVmXec= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-554-vRCK9-xKP7CoK5AznwX2Nw-1; Thu, 16 Jan 2025 14:28:28 -0500 X-MC-Unique: vRCK9-xKP7CoK5AznwX2Nw-1 X-Mimecast-MFC-AGG-ID: vRCK9-xKP7CoK5AznwX2Nw Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-6dd43b16631so18217406d6.2 for ; Thu, 16 Jan 2025 11:28:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737055708; x=1737660508; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=frHoy/vjgxRtW7PYGMK4maf1IuzhXhtG5tuBPxLixfs=; b=TSAEDLfD61k6MHsIk6GaxaWjsAv04rsxgS8VchHeaGTo1Usa334A4FcKoS/huHfIRX 5KQ4mvqefcGmj7sVrDa+yLn9f3J1YwenaPgWLR7Zkp/Z9osUipMealAi+jDyo1mWBd2u EFKalFXDumd8ohsJmS/dHabMxf06D2yJ6drnxnj9JCqgmf89QO5d7k6i9Ttnqyq8H1eu Mo784FZSU9DAwVgwuVCcHWIJyrF9+6R5lGie7zQ4Tg2bFCNKp6FCQ42mtfqQbzSppAHn 5wmpQxxRyVmnCggIGXOLQ//SkPcLT1WxN1L8aC6yZNnvuZ/shLl4i1MRKHYrdyYn6/Ds QwZQ== X-Forwarded-Encrypted: i=1; AJvYcCUUjOHBqTafTPA7Bz8imZjt0EkbkW0KGtQvaC07xmZIdHY4B02lNpjokKhK/JtKkm29FDqAXW2SG1qpuu0=@vger.kernel.org X-Gm-Message-State: AOJu0YwoCZ25zVvbXE2ZrFdU+155wcevlNSVxMdFoDSNybLS0BP0R96L YC7tp2hkjzBu+PqYPFZUJoJyErNi5++o6w5rO5nrY0hi5epwvmsPOu/1TwPamDUIDKBaKodbCrm qCp/eOLZRJdRkkru3uIFKHICdxxv7JiKVpzKE6tIkEXsWZCwID4kGlBp6z8/azA== X-Gm-Gg: ASbGnctpffDOoAe5PMhxlXbJNbCd7esn4FeSE+MJPziDuLvGQIW9w6LRNezAf2mo635 8ap7Ohqba0bsBFU4BvI5tA15+j4FAwvrRa1p02jYFVX4qufSvk/xipcWOq5XZWXysjzcveFt75G 05mtmc619uT5Jat38VIvMPQxAKYVXLfJHHtN9b12n+XHcHxjFJ+hb8gg7yM3QjXd2lncdkAdVO2 t/nDtQTbx6i5GAJBuOV2X6JKuEe7rRIBv10UMfikoDhh2YueXjWUswFrdqwvnyNb37eFJZ6z56V hQAY3YK8PYpCH8e6TZ3b2yPXX3I= X-Received: by 2002:a05:6214:242b:b0:6d4:3b7a:313a with SMTP id 6a1803df08f44-6e1b21c4a7amr725946d6.32.1737055707854; Thu, 16 Jan 2025 11:28:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3AkcJRyPLTA0/kYSb3yDXBC3HK4zrHAtrv6JPjRiy7teBYJ6vtsgrlrDBEVJEFazD7VyOjA== X-Received: by 2002:a05:6214:242b:b0:6d4:3b7a:313a with SMTP id 6a1803df08f44-6e1b21c4a7amr725606d6.32.1737055707553; Thu, 16 Jan 2025 11:28:27 -0800 (PST) Received: from ?IPV6:2601:188:c100:5710:315f:57b3:b997:5fca? ([2601:188:c100:5710:315f:57b3:b997:5fca]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e1afcd3753sm2981276d6.73.2025.01.16.11.28.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2025 11:28:27 -0800 (PST) From: Waiman Long X-Google-Original-From: Waiman Long Message-ID: <2c6d1945-aa88-4658-a623-caf5165771b2@redhat.com> Date: Thu, 16 Jan 2025 14:28:26 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] seqlock: add missing parameter documentation for raw_seqcount_try_begin() To: Suren Baghdasaryan , akpm@linux-foundation.org Cc: sfr@canb.auug.org.au, peterz@infradead.org, mingo@redhat.com, will@kernel.org, boqun.feng@gmail.com, Liam.Howlett@Oracle.com, david@redhat.com, linux-kernel@vger.kernel.org References: <20250116182730.801497-1-surenb@google.com> Content-Language: en-US In-Reply-To: <20250116182730.801497-1-surenb@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/16/25 1:27 PM, Suren Baghdasaryan wrote: > Add missing documentation for raw_seqcount_try_begin() start parameter. > > Fixes: dba4761a3e40 ("seqlock: add raw_seqcount_try_begin") > Reported-by: Stephen Rothwell > Closes: https://lore.kernel.org/all/20250116170522.23e884d5@canb.auug.org.au/ > Signed-off-by: Suren Baghdasaryan > --- > Applies over mm-unstable > > include/linux/seqlock.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h > index 22c2c48b4265..b783a3a7ed62 100644 > --- a/include/linux/seqlock.h > +++ b/include/linux/seqlock.h > @@ -322,6 +322,7 @@ SEQCOUNT_LOCKNAME(mutex, struct mutex, true, mutex) > * raw_seqcount_try_begin() - begin a seqcount_t read critical section > * w/o lockdep and w/o counter stabilization > * @s: Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants > + * @start: count to be passed to read_seqcount_retry() > * > * Similar to raw_seqcount_begin(), except it enables eliding the critical > * section entirely if odd, instead of doing the speculation knowing it will > > base-commit: 4637fa5d47a49c977116321cc575ea22215df22d Acked-by: Waiman Long The tip tree also has the "seqlock: add raw_seqcount_try_begin" commit with a different hash - 96450ead1652. Cheers, Longman