Kernel Virtual Address Space

Sridhar Chellappa schellap at spinnakernet.com
Tue Feb 3 08:56:36 PST 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe at 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?





More information about the freebsd-hackers mailing list