From owner-freebsd-hackers Fri Jul 27 12:53:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f61.pav2.hotmail.com [64.4.37.61]) by hub.freebsd.org (Postfix) with ESMTP id 0194F37B403 for ; Fri, 27 Jul 2001 12:53:48 -0700 (PDT) (envelope-from weiguang_shi@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 27 Jul 2001 12:53:47 -0700 Received: from 129.128.29.128 by pv2fd.pav2.hotmail.msn.com with HTTP; Fri, 27 Jul 2001 19:53:47 GMT X-Originating-IP: [129.128.29.128] From: "Weiguang SHI" To: freebsd-hackers@freebsd.org Subject: kernel stack size Date: Fri, 27 Jul 2001 13:53:47 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Jul 2001 19:53:47.0984 (UTC) FILETIME=[D9BAFD00:01C116D5] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A closer look at the code /usr/src/sys/i386/i386/locore.s astonished me with the fact that the kernel stack size for a process, at least for process 0, is 2*4096-sizeof(struct user) = 3988 bytes, less than even one page. Anyone to verify this, please? BTW, I am looking at the 4.3-stable code. Thanks Weiguang _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message