From owner-cvs-all Tue Mar 19 11:42: 1 2002 Delivered-To: cvs-all@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id ADD0D37B402; Tue, 19 Mar 2002 11:41:55 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020319194007.DUQO2626.rwcrmhc51.attbi.com@InterJet.elischer.org>; Tue, 19 Mar 2002 19:40:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA06852; Tue, 19 Mar 2002 11:23:56 -0800 (PST) Date: Tue, 19 Mar 2002 11:23:55 -0800 (PST) From: Julian Elischer To: John Baldwin Cc: Alan Cox , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/i386/linux linux_sysvec.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm a bit worried about this change.. consider the following case. Running 3 threads, each with a stack MALLOC'd on 32KB One of the threads has 16K stack resident, 16K unused. a signal happens. Does the right thing happen when the stack needs to extend to unused space (the second 16KB). it's just plain malloc'd memoroy now, and not special stack memory. Not saying there is a problem, but just pointing out that in a threaded world things may be different WRT stack memory. On Tue, 19 Mar 2002, John Baldwin wrote: > > On 19-Mar-2002 Alan Cox wrote: > > alc 2002/03/18 20:54:31 PST > > > > Modified files: > > sys/i386/linux linux_sysvec.c > > Log: > > Eliminate unnecessary calls to grow_stack() and useracc() from > > linux_sendsig() > > and linux_rt_sendsig(). (See i386/i386/machdep.c revisions 1.503 and > > 1.504.) > > Are these changes applicable to other arch's as well? They don't sound very > architecture specific to me at least. > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message