git: kernel - Reduce mpipe overhead

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 17 13:13:43 PST 2020


commit dfdd013d83912ace3b83e4c45b180a6c1d41212c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 17 13:01:42 2020 -0800

    kernel - Reduce mpipe overhead
    
    * Reduce unnecessary wakeups when an asynchronous mpipe_thread is
      employed.  The thread was setting a flag that caused all disposals
      to wake it up, even if it did not have any work.

Summary of changes:
 sys/kern/kern_mpipe.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dfdd013d83912ace3b83e4c45b180a6c1d41212c


-- 
DragonFly BSD source repository



More information about the Commits mailing list