From owner-cvs-all Tue Mar 19 12: 4:22 2002 Delivered-To: cvs-all@freebsd.org Received: from parmenion.hosting.swbell.net (parmenion.hosting.swbell.net [216.100.98.30]) by hub.freebsd.org (Postfix) with ESMTP id CA51D37B405; Tue, 19 Mar 2002 12:04:10 -0800 (PST) Received: from imimic.com (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) by parmenion.hosting.swbell.net id PAA04860; Tue, 19 Mar 2002 15:04:07 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <3C9799B7.CB447553@imimic.com> Date: Tue, 19 Mar 2002 14:04:07 -0600 From: "Alan L. Cox" Organization: iMimic Networking, Inc. X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Julian Elischer Cc: John Baldwin , Alan Cox , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/linux linux_sysvec.c References: Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit 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 Julian Elischer wrote: > > 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. > In this case, the copyout() page faults and new pages are allocated, like usual. Alan > 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