From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266199AbUGARmo (ORCPT ); Thu, 1 Jul 2004 13:42:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266198AbUGARmo (ORCPT ); Thu, 1 Jul 2004 13:42:44 -0400 Received: from fw.osdl.org ([65.172.181.6]:8833 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S266199AbUGARmn (ORCPT ); Thu, 1 Jul 2004 13:42:43 -0400 Date: Thu, 1 Jul 2004 10:42:19 -0700 (PDT) From: Linus Torvalds To: Jeff Garzik cc: Alan Cox , Pavel Machek , vojtech@suse.cz, James Bottomley , Andrew Morton , Paul Jackson , Linux Kernel Mailing List , PARISC list Subject: Re: [parisc-linux] Re: [PATCH] Fix the cpumask rewrite In-Reply-To: <40E4413B.5050000@pobox.com> Message-ID: References: <1088266111.1943.15.camel@mulgrave> <1088268405.1942.25.camel@mulgrave> <20040701131158.GP698@openzaurus.ucw.cz> <1088690821.4621.11.camel@localhost.localdomain> <40E4413B.5050000@pobox.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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