Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759481AbYB0UMn (ORCPT ); Wed, 27 Feb 2008 15:12:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757594AbYB0UMf (ORCPT ); Wed, 27 Feb 2008 15:12:35 -0500 Received: from oswiecenia.net ([83.13.108.58]:3797 "EHLO poczta.oswiecenia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757339AbYB0UMe convert rfc822-to-8bit (ORCPT ); Wed, 27 Feb 2008 15:12:34 -0500 X-Greylist: delayed 758 seconds by postgrey-1.27 at vger.kernel.org; Wed, 27 Feb 2008 15:12:34 EST From: Tomasz Grobelny To: Roland McGrath Subject: Re: [PATCH] x86 tls prevent_tail_call Date: Wed, 27 Feb 2008 20:59:40 +0100 User-Agent: PLD Linux KMail/1.9.7 Cc: Ingo Molnar , Thomas Gleixner , Andrew Morton , Linus Torvalds , linux-kernel@vger.kernel.org References: <20080226210018.A031B26F9A4@magilla.localdomain> <20080227072617.GB4638@elte.hu> <20080227073821.0C34C2700FD@magilla.localdomain> In-Reply-To: <20080227073821.0C34C2700FD@magilla.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200802272059.40567.tomasz@grobelny.oswiecenia.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 992 Lines: 21 Dnia Wednesday 27 of February 2008, Roland McGrath napisa?: > > i'm wondering, have you seen this happen in practice? We use > > sys_set_thread_area() for every new task started up. I guess we havent > > seen problems in the field yet because this early during startup tasks > > do not normally receive signals? (or if they do they are fatal and no > > user signal context is used.) > > Tomasz saw it. I don't know what compiler or exact options to it he used. > VMware image from http://student.agh.edu.pl/~grobelny/linux/BUG.tar demonstrates the problem. I didn't play with compiler options myself but used http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel-vanilla.spec (rev. 1.129) as basis for my build. -- Regards, Tomasz Grobelny -- 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/