git: usched_bsd4 - use wakeup_mycpu as appropriate
Alex Hornung
alexh at crater.dragonflybsd.org
Thu Aug 23 23:07:15 PDT 2012
commit 55b580aea14626bdfa5f22a165b0f1ddf8217cdd
Author: Alex Hornung <alex at 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
More information about the Commits
mailing list