Re: cli() / sti()

Linus Torvalds (
20 Jun 1997 19:39:49 GMT

In article <>,
Olaf Titz <> wrote:
>> In ioctl part start_bh_atomic/end_bh_atomic is good replacement.
>> In transmitter just delete them. hard_start_xmit's are serialized
>> by top layer at the moment.
>"At the moment" == 2.0 or 2.1?

"At the moment" means every kernel since something like 1.1.x or some
such ancient thing. And it probably means "until the end of time" (the
serialization right now is a global serialization of all devices, and it
_may_ become a per-device serialization in the future, but as a driver
writer you should more-or-less be able to depend on one particular
driver start_xmit() entrypoint always being serialized).