From owner-freebsd-current Mon Dec 21 01:16:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26975 for freebsd-current-outgoing; Mon, 21 Dec 1998 01:16:26 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles336.castles.com [208.214.167.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA26970 for ; Mon, 21 Dec 1998 01:16:23 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id BAA51083; Mon, 21 Dec 1998 01:13:25 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812210913.BAA51083@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Julian Elischer cc: Mike Smith , Ollivier Robert , "FreeBSD Current Users' list" Subject: Re: Pb with COMPAT_LINUX_THREADS In-reply-to: Your message of "Mon, 21 Dec 1998 01:06:59 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 01:13:24 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I agree with your suggestion, as long as I don't get crucified for > moving 300 bytes from the u area into malloc'd space. < 300k on a system capable of supporting 1000 processes - there are other things that I'd be worrying about at that point (like the size of the pagetables, which basically dwarf any other per-process overhead). > The ifdef'd version is to let people look at it and think about it.. > possibly as has been suggested, the malloc'd space might only be used if > there is a sharing of signals. Otherwise it might remain in the U area. That's certainly one way of doing it. You could implement structure compression by COW off the parent's copy of the struct instead, that'd be even more efficient. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message