diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-05-07 19:24:14 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-05-09 15:06:36 +0200 |
commit | 7765ffed533d4a9f0291a0edc660496d104396ec (patch) | |
tree | c17fbda465e4d1364feb36c5f4ebb87a40de0d5f /lib/bsearch.c | |
parent | gpiolib: fix the speed of descriptor label setting with SRCU (diff) | |
download | linux-7765ffed533d4a9f0291a0edc660496d104396ec.tar.xz linux-7765ffed533d4a9f0291a0edc660496d104396ec.zip |
gpiolib: use a single SRCU struct for all GPIO descriptors
We used a per-descriptor SRCU struct in order to not impose a wait with
synchronize_srcu() for descriptor X on read-only operations of
descriptor Y. Now that we no longer call synchronize_srcu() on
descriptor label change but only when releasing descriptor resources, we
can use a single SRCU structure for all GPIO descriptors in a given chip.
Suggested-by: "Paul E. McKenney" <paulmck@kernel.org>
Acked-by: "Paul E. McKenney" <paulmck@kernel.org>
Link: https://lore.kernel.org/r/20240507172414.28513-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions