Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751105AbWCaA4k (ORCPT ); Thu, 30 Mar 2006 19:56:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751102AbWCaA4j (ORCPT ); Thu, 30 Mar 2006 19:56:39 -0500 Received: from mga03.intel.com ([143.182.124.21]:36673 "EHLO azsmga101-1.ch.intel.com") by vger.kernel.org with ESMTP id S1751099AbWCaA4i convert rfc822-to-8bit (ORCPT ); Thu, 30 Mar 2006 19:56:38 -0500 X-IronPort-AV: i="4.03,148,1141632000"; d="scan'208"; a="17147412:sNHT1751827224" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Subject: RE: Synchronizing Bit operations V2 Date: Thu, 30 Mar 2006 16:56:25 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Synchronizing Bit operations V2 Thread-Index: AcZUXP2iCRCwJ58hSJSnVMMomE3boQAAIjTA From: "Luck, Tony" To: "Christoph Lameter" , "David Mosberger-Tang" Cc: "Nick Piggin" , "Zoltan Menyhart" , "Boehm, Hans" , "Grundler, Grant G" , "Chen, Kenneth W" , , , X-OriginalArrivalTime: 31 Mar 2006 00:56:26.0298 (UTC) FILETIME=[F01111A0:01C6545D] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 709 Lines: 15 > Also some higher level functions may want to have the mode passed to them > as parameters. See f.e. include/linux/buffer_head.h. Without the > parameters you will have to maintain farms of definitions for all cases. But if any part of the call chain from those higher level functions down to these low level functions is not inline, then the compiler won't be able to collapse out the "switch (mode)" ... so we'd end up with a ton of extra object code. -Tony - 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/