Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754765AbYGISll (ORCPT ); Wed, 9 Jul 2008 14:41:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753019AbYGISld (ORCPT ); Wed, 9 Jul 2008 14:41:33 -0400 Received: from terminus.zytor.com ([198.137.202.10]:50653 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752959AbYGISlc (ORCPT ); Wed, 9 Jul 2008 14:41:32 -0400 Message-ID: <48750566.6000500@zytor.com> Date: Wed, 09 Jul 2008 14:37:26 -0400 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Christoph Lameter CC: Jeremy Fitzhardinge , Mike Travis , Ingo Molnar , Andrew Morton , "Eric W. Biederman" , Jack Steiner , linux-kernel@vger.kernel.org Subject: Re: [RFC 00/15] x86_64: Optimize percpu accesses References: <20080709165129.292635000@polaris-admin.engr.sgi.com> <4874F4F2.9010603@goop.org> <4874F7D9.5060607@linux-foundation.org> <4874FD52.8070000@sgi.com> <4874FFC4.7050505@linux-foundation.org> <487502BD.2020206@goop.org> <487504A8.5040000@linux-foundation.org> In-Reply-To: <487504A8.5040000@linux-foundation.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 24 Christoph Lameter wrote: > Jeremy Fitzhardinge wrote: > >> Eh? Yes they will. That's the whole point of making the pda a percpu >> variable itself. You can use %gs: to get to the pda, and >> %gs: to get to percpu variables. Converting pda->percpu will >> just have the effect of increasing the %gs offset into the percpu space. > > Right that is what this patchset does. > >> This project isn't interesting to me unless per-cpu variables are >> directly accessible off %gs. > > Maybe I misunderstood but it seems that you proposed to convert individual members of the pda structure (which uses GS) to per cpu variables (which without this patchset cannot use GS). > I don't understand the "individual members" requirement here. -hpa -- 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/