diff options
| author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-21 15:16:05 +0000 |
|---|---|---|
| committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-21 15:16:05 +0000 |
| commit | 82e559936bf930663f4eb53eccd455168ac76ada (patch) | |
| tree | a880b8e43732750e321fe8d10582eb685d9a3dd4 /community/multipath-tools/fix-yield.patch | |
| parent | f94cf087913dbb8078047a2b0ddece29fdb82dde (diff) | |
| download | aports-82e559936bf930663f4eb53eccd455168ac76ada.tar.bz2 aports-82e559936bf930663f4eb53eccd455168ac76ada.tar.xz | |
community/multipath-tools: moved from main
Diffstat (limited to 'community/multipath-tools/fix-yield.patch')
| -rw-r--r-- | community/multipath-tools/fix-yield.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/multipath-tools/fix-yield.patch b/community/multipath-tools/fix-yield.patch new file mode 100644 index 0000000000..e93d3bce25 --- /dev/null +++ b/community/multipath-tools/fix-yield.patch @@ -0,0 +1,13 @@ +diff --git a/multipathd/uxlsnr.c b/multipathd/uxlsnr.c +index 7a9faf3..4e6a197 100644 +--- a/multipathd/uxlsnr.c ++++ b/multipathd/uxlsnr.c +@@ -180,7 +180,7 @@ void * uxsock_listen(uxsock_trigger_fn uxsock_trigger, void * trigger_data) + pthread_mutex_unlock(&client_lock); + condlog(0, "%s: failed to realloc %d poll fds", + "uxsock", 1 + num_clients); +- pthread_yield(); ++ sched_yield(); + continue; + } + old_clients = num_clients; |
