Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752434Ab3IVRsy (ORCPT ); Sun, 22 Sep 2013 13:48:54 -0400 Received: from terminus.zytor.com ([198.137.202.10]:34577 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752188Ab3IVRsx (ORCPT ); Sun, 22 Sep 2013 13:48:53 -0400 Message-ID: <523F2D21.5070505@zytor.com> Date: Sun, 22 Sep 2013 10:47:13 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: Peter Zijlstra CC: Benjamin Herrenschmidt , Frederic Weisbecker , Linus Torvalds , Thomas Gleixner , LKML , Paul Mackerras , Ingo Molnar , James Hogan , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , "David S. Miller" , Andrew Morton Subject: Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix References: <1379620267-25191-1-git-send-email-fweisbec@gmail.com> <20130920162603.GA30381@localhost.localdomain> <1379799901.24090.6.camel@pasglop> <523E4F8A.7020708@zytor.com> <1379824754.24090.11.camel@pasglop> <1379824861.24090.12.camel@pasglop> <20130922162410.GA10649@laptop.programming.kicks-ass.net> In-Reply-To: <20130922162410.GA10649@laptop.programming.kicks-ass.net> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 621 Lines: 18 On 09/22/2013 09:24 AM, Peter Zijlstra wrote: > > As to the problem of GCC moving r13 about, some archs have some > exceptions in the register allocator and leave some registers alone. > IIRC MIPS has this and uses one of those (istr there's 2) for the > per cpu base address. > You can force gcc to leave a register alone with the command line option -ffixed-r13. -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/