On Mon, 15 Feb 1999, Regis Duchesne wrote:
> What is the exact purpose of start_bh_atomic() and end_bh_atomic()?
To protect your code from being interrupted by a bottom half handler.
Is it mostly used in syscalls and functions called from userspace
and is better than cli/sti pair, because most of the time there is no
need to mask interrupts on hardware level.
Cheers,
Kris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/