From owner-freebsd-hackers Fri Aug 17 6:44:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bugz.infotecs.ru (bugz.infotecs.ru [195.210.139.22]) by hub.freebsd.org (Postfix) with ESMTP id 3C67137B401 for ; Fri, 17 Aug 2001 06:44:51 -0700 (PDT) (envelope-from vel@bugz.infotecs.ru) Received: (from root@localhost) by bugz.infotecs.ru (8.11.5/8.11.4) id f7HDife37351; Fri, 17 Aug 2001 17:44:41 +0400 (MSD) (envelope-from vel) From: "Eugene L. Vorokov" Message-Id: <200108171344.f7HDife37351@bugz.infotecs.ru> Subject: Re: kernel stack size To: julian@elischer.org (Julian Elischer) Date: Fri, 17 Aug 2001 17:44:40 +0400 (MSD) Cc: freebsd-hackers@freebsd.org In-Reply-To: from "Julian Elischer" at Aug 15, 2001 12:19:56 AM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > In 5-0-KSE there is a single page that contains the stack and > the PCB (which is about 660 bytes). We are also looking at adding > code to set a hardware watchpoint between the stack and the PCB > to catch overruns. Maybe I'm just dumb, but I still don't understand, what is the reason of keeping kernel stack size so small ? I understand there should be no need in huge stack, but why so damn small ? Would someone explain please ? Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message