Per CPU region of memory

Q q_dolan at yahoo.com.au
Mon Dec 22 17:31:52 PST 2003


On Tue, 2003-12-23 at 02:23, Aniruddha Bohra wrote:
> Hello,
> 	I am writing a loadable kernel module where I
> need a per-cpu region of wired memory. The module should
> work for -current and -stable.
> 
> 	How can I get such a region of memory?
> Any docs or pointers would be great.

Try looking at contigmalloc  (in sys/vm/vm_contig.c)   

-- 

Seeya...Q

               -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                        
                          _____  /   Quinton Dolan q_dolan at yahoo.com.au
  __  __/  /   /   __/   /      /          
     /    __  /   _/    /      /         Gold Coast, QLD, Australia
  __/  __/ __/ ____/   /   -  /             Ph: +61 419 729 806
                    _______  /              
                            _\






More information about the freebsd-hackers mailing list