Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266003AbUFIV44 (ORCPT ); Wed, 9 Jun 2004 17:56:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266004AbUFIV44 (ORCPT ); Wed, 9 Jun 2004 17:56:56 -0400 Received: from mout0.freenet.de ([194.97.50.131]:14828 "EHLO mout0.freenet.de") by vger.kernel.org with ESMTP id S266003AbUFIV4q (ORCPT ); Wed, 9 Jun 2004 17:56:46 -0400 From: Arnd Bergmann To: Pete Zaitcev Subject: Re: [PATCH] Add FUTEX_CMP_REQUEUE futex op Date: Thu, 10 Jun 2004 00:08:20 +0200 User-Agent: KMail/1.6.2 Cc: Martin Schwidefsky , linux-kernel@vger.kernel.org References: <20040609130406.7942507c@lembas.zaitcev.lan> In-Reply-To: <20040609130406.7942507c@lembas.zaitcev.lan> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406100008.20692.arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1281 Lines: 28 On Wednesday 09 June 2004 22:04, Pete Zaitcev wrote: > Is it just me, or this could he above stand a use of STACK_FRAME_OVERHEAD > instead of 160? I envision a time when Ulrich Weigand comes out with > a gcc -fkernel, and at that time we'll need all such references > configurable. It wouldn't hurt, but even if we get -mkernel support in gcc, that doesn't mean that the stack frame size has to change: You can easily have %r15 point to 160 bytes above the register save area without actually using all that space for saving registers. The only thing that would need to change is the location of the backchain pointer. > Why not to place the necessary word outside of the struct? > It just logically doesn't belong. Might be just as easy to > do that mvc to other place. That actually was what Martin tried in his first implementation (well, the last one before the one he submitted). It didn't work out because some code relied on the stack starting right after pt_regs. Martin can probably clarify that on Friday. Arnd <>< - 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/