From: Keir Fraser Subject: Re: [PATCH] x86: optimize this_cpu() Date: Tue, 13 Jul 2010 15:45:55 +0100 Message-ID: References: <4C3C97C5020000780000B013@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C3C97C5020000780000B013@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 13/07/2010 15:43, "Jan Beulich" wrote: > I found it quite odd that, without any special comment to that > effect, I couldn't just add a single field to struct cpu_info without > causing breakage. The apparently odd extra padding field at > least provides a slight hint towards issues here. A similar issue > is that there is a silent requirement of "current_vcpu" being the > last field... Where does that come from? -- Keir