OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Artur Grabowski (artcvs.openbsd.org)
Date: Thu Feb 01 2007 - 14:42:17 CST


CVSROOT: /cvs
Module name: src
Changes by: artcvs.openbsd.org 2007/02/01 13:42:17

Modified files:
        sys/arch/amd64/amd64: machdep.c
        sys/arch/amd64/include: cpu.h

Log message:
When doing signotify, check if we're notifying a process on another
cpu and if we do, send it an IPI that will force to get into the kernel
and process the AST.

This makes signals to processes on other CPUs to be actually delivered
as soon as possible instead of some time in the future when some
interupt happens.

heavy testing by krw, miod ok (in principle, since he doesn't do amd64)