Large array in KVM

2007-12-06 Thread Sonja Milicic
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?

Large array in KVM

2007-12-06 Thread Sonja Milicic
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?

Writing to a file

2007-05-05 Thread Sonja Milicic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm working on an IO logging utility for FreeBSD as my GSoC project, and I have some questions about writing a kernel functions that would open an existing or create a new file (with the file name as a parameter, returns a vnode * for the