> What is the exact purpose of start_bh_atomic() and end_bh_atomic()?
> Reading the source, I can see that some drivers use these functions, but I
> can't see how it is related to bottom half handlers.
<PRE>
start_bh_atomic();
<CODE>
end_bh_atomic();
<POST>
they guarantee that no BH on any CPU will execute during the execution of
the <CODE> critical section. bhs may run during <PRE> and <POST>. Note
that this locks out _all_ bhs. It's main uses are in the networking code.
-- mingo
-
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/