From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH 1/4]X86 microcode: cancel redundant input parameter of microcode functions Date: Thu, 22 Jan 2009 09:42:01 +0100 Message-ID: <200901220942.02201.Christoph.Egger@amd.com> References: <706158FABBBA044BAD4FE898A02E4BC2223BD253@pdsmsx503.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <706158FABBBA044BAD4FE898A02E4BC2223BD253@pdsmsx503.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: "Liu, Jinsong" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Thursday 22 January 2009 04:08:21 Liu, Jinsong wrote: > X86 microcode: cancel redundant input parameter of microcode functions > > Cancel redundant input parameter 'uci', since it can get from another input > parameter 'cpu' as index. > > Signed-off-by: Liu, Jinsong I added the parameter 'uci' to reduce dependency on a global variable. That improves reentrancy and cache locality. If you want to go a step forward rather back, then remove the 'cpu' parameter instead. Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632