Date: Thu, 29 Jan 2004 15:09:25 -0500 From: Sridhar Chellappa <schellap@spinnakernet.com> To: freebsd-hackers@freebsd.org Subject: Kernel Virtual Address Space Message-ID: <40196875.1050307@spinnakernet.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40196875.1050307>