git: kernel - Avoid p->p_token when sending a signal to a particular lwp

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jan 31 18:34:53 PST 2017


commit 22f4a817164aa428518102732730fadabc37b8eb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jan 31 18:33:33 2017 -0800

    kernel - Avoid p->p_token when sending a signal to a particular lwp
    
    * Avoid holding the per-process token excluysively when sending a signal
      to a particular lwp.  Hold it shared to locate the lwp, but otherwise do
      all signal processing with the target lwp's token.
    
    * Significantly improves vkernel timer operation.  Timer distribution to
      multiple cpus no longer trip over themselves.

Summary of changes:
 sys/kern/kern_sig.c | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/22f4a817164aa428518102732730fadabc37b8eb


-- 
DragonFly BSD source repository


More information about the Commits mailing list