Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 2 Mar 2003 12:06:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 2 Mar 2003 12:06:48 -0500 Received: from natsmtp01.webmailer.de ([192.67.198.81]:1533 "EHLO post.webmailer.de") by vger.kernel.org with ESMTP id ; Sun, 2 Mar 2003 12:06:47 -0500 From: Arnd Bergmann To: Anders Gustafsson Subject: Re: [PATCH] reduce large stack usage Date: Sun, 2 Mar 2003 18:14:48 +0100 User-Agent: KMail/1.5 Cc: "Randy.Dunlap" , linux-kernel@vger.kernel.org References: <20030301071007$18ea@gated-at.bofh.it> <200303021413.PAA12289@post.webmailer.de> <20030302153805.GD27892@h55p111.delphi.afb.lu.se> In-Reply-To: <20030302153805.GD27892@h55p111.delphi.afb.lu.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303021814.48582.arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 19 On Sunday 02 March 2003 16:38, Anders Gustafsson wrote: > I'm also seeing crashes when unpacking the initramfs if I enlarge it so it > takes more than a few (32kb) windows. I get crashes in a copy_from_user > deep down the callchain when it is doing the sys_write to a file in ramfs. That's slightly different from what I am experiencing on s390x. Here, I get a panic 'length error' after initramfs is unzipped. It always seems like one byte less is counted than actually is inside the archive. OTOH, the result of a stack overflow is usually undefined, so it might also be this problem. 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/