commit | 52be27e5b46e2b4c10bc1dabf289bee75b3c1007 | [log] [tgz] |
---|---|---|
author | pigweed-integration-roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> | Tue Nov 23 21:19:59 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 23 21:33:23 2021 +0000 |
tree | 6e3b6ea202da186f476eeeeb8e5ff4836e36f372 | |
parent | c18b1ce9e38aeea77d40e2fd565657ffdc22844d [diff] |
[roll third_party/pigweed] pw_sync/interrupt_spin_lock: Optimize try_lock for uniprocesors Optimizes the existing backends for InterruptSpinLocks to implement try_lock through lock, given that the existing uniprocessor backends do not support SMP and ergo you cannot fail to acquire a lock. The only risk is that you recursively lock which is already guarded against by the lock implementation. Also updates the backends to consistently use debug asserts to guard against recursive locking. And lastly it disables some test behavior which relied on recursive locking which is undefined behavior. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/70528 https://pigweed.googlesource.com/pigweed/pigweed third_party/pigweed Rolled-Commits: 04965817fcb78ef..2fed999cfb5afef Roller-URL: https://ci.chromium.org/b/8829738415691694641 Cq-Cl-Tag: roller-builder:pigweed-experimental-roller Cq-Cl-Tag: roller-bid:8829738415691694641 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I88af524d1f2dc491da0be817619267d3bc07d8bc Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/70530 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
This repository contains experimental pigweed modules.
Clone this repo with --recursive
to get all required submodules.
git clone --recursive https://pigweed.googlesource.com/pigweed/experimental
This will pull the Pigweed source repository into third_party/pigweed
. If you already cloned but forgot to --recursive
run git submodule update --init
to pull all submodules.