lkml.org 
[lkml]   [1998]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHow to protect syscalls against bottom half ints?
Hi there.

Is there a way to protect a syscall against beeing interrupted by a
bottom half? Other than cli/sti? I don´t need to be protected against
hardware ints, just don't want to have net_bh and timer_bh and tqueue_bh
messing around with my data structures for a short time. However, I
generally dislike to mask irqs if it's not *really* needed.

What about just ++intr_count; ?

Gruss,
Matthias

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.026 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site