I'm using the sysvipc shm feature to share large arrays between processes. It seems that if I exceed 4096 bytes for a shared memory, I get an exception. I found in the kernel code that the page size was 4K. I'm guessing that a shared memory can't exceed the page size ???
In the kernel source file 'page.h' I changed the page size to 8192 and rebuild a kernel. It boots and runs through the init, but then just stops. No exception is thrown.
Has anyone had any experience using shm larger than 4K, or modifying a kernel to increase the page size? I'm sure I'll figure it out eventually, but any guidance or direction would be appreciated.
The kernel source I'm using is 2.6.23.atmel.5