Re: [PATCH 14/25] Docs: kernel-hacking: Rewrite local_irq_{disable,enable,save,restore}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 27 Feb 2010 07:10:57 +0000
Michael Witten <mfwitten@xxxxxxxxx> wrote:

> +    to respond to hard interrupts. Consequently, in the simplest case,
> +    a block of code can be rendered atomic by placing
> +    <function>local_irq_disable()</function> before the block and
> +    <function>local_irq_enable()</function> after the block.
> +   </para>

But disabling interrupts does not, in itself, make code atomic,
please don't say that.

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux