diff options
author | Kevin Traynor <ktraynor@redhat.com> | 2023-01-11 09:35:00 +0000 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2023-01-12 12:21:20 +0100 |
commit | f4c884135139f0d9e309bcd58244191145c5abba (patch) | |
tree | ccd96d153aa30ecb5826e831fbac41c1e8fc1e85 /Documentation/topics | |
parent | 4de6b009cfec1e4aac57283f5cab129718939292 (diff) | |
download | openvswitch-f4c884135139f0d9e309bcd58244191145c5abba.tar.gz |
util: Add non quiesce xnanosleep.
xnanosleep forces the thread into quiesce state in anticipation that
it will be sleeping for a considerable time and that the thread may
need to quiesce before the sleep is finished.
In some cases, a very short sleep may be requested and in that case
the overhead of going to into quiesce state may be unnecessary.
To allow for those cases add a xnanosleep_no_quiesce() variant.
Suggested-by: Ilya Maximets <i.maximets@ovn.org>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation/topics')
0 files changed, 0 insertions, 0 deletions