Messages in this thread | | | Date | Thu, 1 Jul 2004 10:42:19 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [parisc-linux] Re: [PATCH] Fix the cpumask rewrite |
| |
On Thu, 1 Jul 2004, Jeff Garzik wrote: > > FWIW one of the major uses of bitops currently is e.g. in > include/linux/netdevice.h, where bitops are used for atomic selection of > code paths, but not spinning:
That's fine. They _are_ defined to be atomic, and as such they are perfect for things like that.
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |