DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: usched_bsd4 - use wakeup_mycpu as appropriate


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Aug 2012 23:07:15 -0700 (PDT)

commit 55b580aea14626bdfa5f22a165b0f1ddf8217cdd
Author: Alex Hornung <alex@alexhornung.com>
Date:   Fri Aug 24 06:57:43 2012 +0000

    usched_bsd4 - use wakeup_mycpu as appropriate
    
     * In the need_user_resched_remote we need to use wakeup_mycpu to avoid
       sending out IPIs triggering a deep IPI recursion panic.
    
     * In the setrunqueue case use wakeup_mycpu as an optimization, since we
       know that we are on the same CPU as the helper thread we want to wake
       up.
    
    In-discussion-with: Matt Dillon
    Reported-by: ftigeot

Summary of changes:
 sys/kern/usched_bsd4.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/55b580aea14626bdfa5f22a165b0f1ddf8217cdd


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]