On 10/9/05, Xiangfei Jia <xjianz@xxxxxxxxx> wrote: > Sorry for the confusion. I include how I wrote the page allocation and > de-allocation code at the end of this email. And the full source code is > attached as well. Can we see what happens when it "crashes" please? Why did you feel the need to allocate memory in this fashion? Was it not possible simply to allocate a large virtually contiguous space with vmalloc or use mem caches for general objects? What was missing the standard Linux VM which meant you had to do it this way? Jon. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/