From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 78BED3B9922 for ; Tue, 13 Oct 2026 09:06:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791882401; cv=none; b=X77+jvf63h+46bjqQNXKTVntYWPcTFYYedUDSEHWZqVhp4VBvJiVfMh4/26Uq0uOaQWQ8cC8ue0z3dgA0JG9mZkYsdbRgiTOAjbW0hrw7igNmMQXVrNqMWHFs6tcOIpUM6S99KcAMby6+0NLBTQcqwSUoak3PIWErkUTHyLe0ps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791882401; c=relaxed/simple; bh=GnHI1f7RtkRU9/9CM2qlLiByqydhQNtqiP5Ty0+H7zA=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date; b=MaxPsp8+Shcl8qXUybg67LnEZSBj6/k5o43R/Pe95C+BH9qzT7AxZHo80yjmlpCFta+RkkLP7tEG5VEQrPL9ya8+PDxjVS10dMZtWBWkY6wXUZk04FZyeqqesWwc5rDRQTmUeXfwpuv8vU5wBV61YDWPoD1Th+nVFuiqePHTuj8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GE+M1bB1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GE+M1bB1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D705B1F000FF; Tue, 13 Oct 2026 09:06:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791882400; bh=conRWTTjDF3CNLnmgFQm7N+v2I0vliBawxHarzMbNpA=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=GE+M1bB1mPdR4ghkwJWPjVwYqWbl6Y3XcucHmqMDvMZXxCsZNtqvBYUrbFJeHvP8J 0onlhJA7mQnKFTGMCZsczCMR1ZLxUc4rKwTrc8fRF4D3vVUMxGoLcLqAXHqp9nwjZn PPVedpSXeW3C8ugVt04Vs5GmODYytZBjviegYlMbXIs5werZc4bpdVEVz+d048FP/V DRpqx0P3TTla/iNQlMuk3nP5nRtcdU4k6ePsuB4/CC3yifAH0fraOB4RGvOtk17xue Bno3nV3o1on5W3O9K1y8VGPM3UIXzcpf25ktArYGjKN9FP7VBT2qpUwZih09vjBoZk E/SdKge0KmhtA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4] perf bench: Add atomic operations benchmark Reply-To: sashiko-reviews@lists.linux.dev To: "Changbin Du" Cc: linux-perf-users@vger.kernel.org In-Reply-To: <20261013085648.976819-1-changbin.du@gmail.com> References: <20261013085648.976819-1-changbin.du@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 13 Oct 2026 09:06:39 +0000 Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: > Add a new 'atomic' collection to perf bench for benchmarking > atomic read-modify-write operations with multi-threaded > contention testing. It provides two subcommands: >=20 > - atomic cas: contended compare-and-swap operations > (__atomic_compare_exchange_n) > - atomic inc: contended fetch-add operations (__atomic_fetch_add) >=20 > Both support a configurable thread count and runtime to measure > atomic contention effects. >=20 > Why this benchmark is needed: > - Atomic read-modify-write operations are fundamental to lock-free > algorithms and data structures. Understanding their performance > characteristics under contention is critical for designing > [ ... ] > - Per-thread ops: fastest/slowest/avg operations per thread in the > last repeat (shows scheduling imbalance and lack of progress) >=20 > Assisted-by: opencode:DeepSeek-V4-Pro > Signed-off-by: Changbin Du Sashiko has reviewed this patch and found no issues. It looks great! --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261013085648.9768= 19-1-changbin.du@gmail.com?part=3D1