diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-05-05 23:40:04 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-05 23:40:04 +0000 |
commit | 51f481235c29fb38b92fb08a830385e39df80093 (patch) | |
tree | e0e63678b4bc329d7a52a7574b9dce9c56836017 /sys/arm | |
parent | 4942e8df472bdb49e72a8c9b60e8189bdb037b8c (diff) | |
download | src-51f481235c29fb38b92fb08a830385e39df80093.tar.gz src-51f481235c29fb38b92fb08a830385e39df80093.zip |
pbio: Add locking and remove D_NEEDGIANT.
Use a sx lock to permit uiomove directly into/out of the the per-port
buffers. In addition, the sx lock provides a stronger guarantee that
I think this driver wants which is to single-thread read and write
calls even while paused. Finally, replace tsleep with dummy wait
channels with calls to pause_sig to more clearly communicate the
intent.
Differential Revision: https://reviews.freebsd.org/D35081
Diffstat (limited to 'sys/arm')
0 files changed, 0 insertions, 0 deletions