From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 3 08:56:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE9DC16A4CE for ; Tue, 3 Feb 2004 08:56:35 -0800 (PST) Received: from mail.spinnakernet.com (mail.spinnakernet.com [141.151.129.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7097743D2D for ; Tue, 3 Feb 2004 08:56:33 -0800 (PST) (envelope-from schellap@spinnakernet.com) Received: from spinnakernet.com (schellap-pc.spinnakernet.com [10.98.17.130]) by mail.spinnakernet.com (8.11.0/8.11.0) with ESMTP id i13GuXu16415 for ; Tue, 3 Feb 2004 11:56:33 -0500 Message-ID: <401FD206.9080101@spinnakernet.com> Date: Tue, 03 Feb 2004 11:53:26 -0500 From: Sridhar Chellappa User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <40196875.1050307@spinnakernet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Kernel Virtual Address Space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 16:56:36 -0000 Sridhar Chellappa wrote: > As part of the Bootup sequence, I see create_pagetables allocate only > 30 Pages for Page Table entries in non-PAE mode and 120 pages in PAE > mode. Does this mean that all the kernel mode entities get only 4 * 30 > * 1024 * 1024 = 120 MB worth of Address Space ? Can I tune the kernel > virtual address space by just changing the "NKPT" define in pmap.h ? > > Also, I heard that the BSD kernel(atleast from 5.1 onward) itself is > pre-emptible and none of the kernel threads have a cpu affinity. How > do I change the behaviour to make the kernel non-preemptible and tie > kernel-threads to a particular CPU ? > > Sridhar. > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" Under Linux, all kernel threads share the same "Kernel" Virtual Address Space. Is it the same under freeBSD ? If it is not, then what sort of Stuff gets put into the "Kernel" Virtual Address Space?