summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2007-04-12 20:22:58 +0000
committerart <art@openbsd.org>2007-04-12 20:22:58 +0000
commit7a83af5051b73d3f5f4cb40fca3175d9ffe4fcf3 (patch)
tree3b61c7aeda1456497f44d28a2e4307be7c51a240 /sys/kern/kern_resource.c
parentuntypo (diff)
downloadwireguard-openbsd-7a83af5051b73d3f5f4cb40fca3175d9ffe4fcf3.tar.xz
wireguard-openbsd-7a83af5051b73d3f5f4cb40fca3175d9ffe4fcf3.zip
Faster signal delivery on i386/MP.
We need to poke the other CPU so that it processes the AST immediately and doesn't wait for the next interrupt or syscall. Since IPIs really shouldn't process ASTs, we need to trigger a soft interrupt on the destination CPU to process the AST. But since we can't send soft interrupts to other CPUs, we send an IPI, that triggers a soft interrupt that in turn processes the AST. Also, this marks the beginning of moving to slightly better IPI mechanism of short and optimized IPIs instead of the large and complicated IPI infrastructure we're using now. tested by many, ok tholo@
Diffstat (limited to 'sys/kern/kern_resource.c')
0 files changed, 0 insertions, 0 deletions