Re: [parisc-linux] Re: [PATCH] Fix the cpumask rewrite

From: Linus Torvalds
Date: Thu Jul 01 2004 - 12:43:46 EST




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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/