From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762456AbXK2BSR (ORCPT ); Wed, 28 Nov 2007 20:18:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758260AbXK2BSI (ORCPT ); Wed, 28 Nov 2007 20:18:08 -0500 Received: from one.firstfloor.org ([213.235.205.2]:48606 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758142AbXK2BSH (ORCPT ); Wed, 28 Nov 2007 20:18:07 -0500 Date: Thu, 29 Nov 2007 02:18:03 +0100 From: Andi Kleen To: Christoph Lameter Cc: Jeremy Fitzhardinge , Rusty Russell , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [patch 05/14] percpu: Use a Kconfig variable to configure arch specific percpu setup Message-ID: <20071129011802.GK24223@one.firstfloor.org> References: <20071127001407.859743255@sgi.com> <200711281236.02014.rusty@rustcorp.com.au> <200711291017.52727.rusty@rustcorp.com.au> <474DFD7E.907@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 28, 2007 at 04:11:37PM -0800, Christoph Lameter wrote: > 1. The stack canary You would need to change gcc with a new option and only allow the stack checking when the compiler supports the new option. However the problem is still how to get a reasonable fixed offset. Or perhaps just change gcc to use a linker symbol relative to %gs that could be set to anything? -Andi