From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E0A25DDF70 for ; Tue, 16 Dec 2008 08:05:14 +1100 (EST) Subject: Re: [PATCH 11/16] powerpc/mm: Add SMP support to no-hash TLB handling v3 From: Benjamin Herrenschmidt To: Kumar Gala In-Reply-To: References: <20081215054554.E883EDDF9D@ozlabs.org> <1229373978.26324.120.camel@pasglop> Content-Type: text/plain Date: Tue, 16 Dec 2008 08:03:04 +1100 Message-Id: <1229374984.26324.125.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > > The whole thing. Not totally clear, you have a better name ? Some CPUs > > want a lock on sync and some on ivax, I plan to lock the whole > > sequence. > > MMU_FTR_TLBIVAX_OR_SYNC_NEED_LOCK ? Which completely blows away the nice tab'ing :-) MMU_FTR_LOCK_BCAST_TLB_OPS ? > Its probably a good idea to have a clear definition of what each of > these flags means in the commit message. No, I'd rather have that in a comment in the code. Cheers, Ben.