How to protect syscalls against bottom half ints?

Matthias Welwarsky (matze@stud.fbi.fh-darmstadt.de)
Tue, 21 Apr 1998 16:44:37 +0200


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