From owner-cvs-all Wed Dec 29 7:45: 4 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CB8BC14CE1; Wed, 29 Dec 1999 07:45:01 -0800 (PST) (envelope-from jasone@FreeBSD.org) Received: (from jasone@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA42995; Wed, 29 Dec 1999 07:45:01 -0800 (PST) (envelope-from jasone@FreeBSD.org) Message-Id: <199912291545.HAA42995@freefall.freebsd.org> From: Jason Evans Date: Wed, 29 Dec 1999 07:45:01 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_create.c uthread_init.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jasone 1999/12/29 07:45:01 PST Modified files: lib/libc_r/uthread pthread_private.h uthread_create.c uthread_init.c Log: Don't explicitly mmap() red zones at the bottom of thread stacks (except the initial thread). Instead, just leave an unmapped gap between thread stacks and make sure that the thread stacks won't grow into these gaps, simply by limiting the size of the stacks with the 'len' argument to mmap(). This (if I understand correctly) reduces VM overhead considerably. Reviewed by: deischen Revision Changes Path 1.32 +19 -6 src/lib/libc_r/uthread/pthread_private.h 1.23 +2 -11 src/lib/libc_r/uthread/uthread_create.c 1.21 +8 -2 src/lib/libc_r/uthread/uthread_init.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message