Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755421AbYGIUgY (ORCPT ); Wed, 9 Jul 2008 16:36:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751527AbYGIUgQ (ORCPT ); Wed, 9 Jul 2008 16:36:16 -0400 Received: from gw.goop.org ([64.81.55.164]:56594 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059AbYGIUgP (ORCPT ); Wed, 9 Jul 2008 16:36:15 -0400 Message-ID: <4875212E.6090404@goop.org> Date: Wed, 09 Jul 2008 13:35:58 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: "Eric W. Biederman" CC: Mike Travis , Christoph Lameter , Ingo Molnar , Andrew Morton , "H. Peter Anvin" , 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> <487502FB.3090106@sgi.com> <487507A1.2020100@goop.org> In-Reply-To: X-Enigmail-Version: 0.95.6 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: 622 Lines: 19 Eric W. Biederman wrote: > How does gcc know to use %gs instead of the usual %fs for accessing > the stack protector variable? My older gcc-4.1.x on ubuntu always uses %fs. > -mcmodel=kernel > Or we could do something completely evil. And use the other segment > register for the stack canary. > That would still require gcc changes, so it doesn't help much. J -- 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/