From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 3 12:33:20 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 9254B16A4CE for ; Tue, 3 Feb 2004 12:33:20 -0800 (PST) Received: from mail.spinnakernet.com (mail.spinnakernet.com [141.151.129.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A92243D46 for ; Tue, 3 Feb 2004 12:33:18 -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 i13KXDu10407; Tue, 3 Feb 2004 15:33:13 -0500 Message-ID: <402004C2.7080309@spinnakernet.com> Date: Tue, 03 Feb 2004 15:29:54 -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: Julian Elischer References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org 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 20:33:20 -0000 Julian Elischer wrote: > >On Tue, 3 Feb 2004, Sridhar Chellappa wrote: > >>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? >> > >The simple answer is: "yes they do". > >> >> >>_______________________________________________ >>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" >> Is it possible for freeBSD kernel threads to have their own private virtual address space ??