Large array in KVM

Sonja Milicic tanarri at geri.cc.fer.hr
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,
Sonja


More information about the freebsd-hackers mailing list