From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [PATCH 5/7] Use %gs for per-cpu sections in kernel Date: Fri, 22 Sep 2006 15:43:49 -0700 Message-ID: <45146725.4070109@goop.org> References: <1158925861.26261.3.camel@localhost.localdomain> <1158925997.26261.6.camel@localhost.localdomain> <1158926106.26261.8.camel@localhost.localdomain> <1158926215.26261.11.camel@localhost.localdomain> <1158926308.26261.14.camel@localhost.localdomain> <1158926386.26261.17.camel@localhost.localdomain> <20060922123215.GA98728@muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060922123215.GA98728@muc.de> Sender: linux-kernel-owner@vger.kernel.org To: Andi Kleen Cc: Rusty Russell , lkml - Kernel Mailing List , virtualization List-Id: virtualization@lists.linuxfoundation.org Andi Kleen wrote: > BTW I changed my copy sorry. I redid the early PDA support > to not be in assembler. I went to the trouble of making the PDA completely set up before any C code ran. Did you undo that? Andrew mentioned that people have various hacks which hook into mcount, and want to use current/smp_processor_id, which means that that they have to work from the first function prologue. It also simplifies things to get all that set up ASAP so there's no bootstrap dependency problem. J