Large array in KVM

Sonja Milicic tanarri at
Thu Dec 6 11:27:46 PST 2007

Hi everyone.

I'm working on a kernel module that needs to maintain a large structure 
in memory. As this structure could grow too big to be stored in memory, 
it would be good to offload parts of it to the disk. What would be the 
best way to do this? Could using a memory-mapped file help?

Thanks in advance,

More information about the freebsd-hackers mailing list