Current work queue mechanism of libsheepdog has some little but bother problems related to coding style, functionality, and performance. This patchset solves them.
v5: - protect wq_need_grow() with workers_lock v4: - rebase on Yuan's patch v3: - in the 3rd patch, add a new mutex for protecting nr_threads v2: - preserve correct locking schemes for the data structures Hitoshi Mitake (3): work: protect nr_threads by wi->workers_lock work: make locking by queue_work() more fine grain work: improve namings and fix obsolete comments lib/work.c | 80 +++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 33 deletions(-) -- 1.7.10.4 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
