hello, I am writing a kernel module, and in one function i have a small array of char. I declare it like this: char arr[PAGE_SIZE]; But knowing that the kernel stack size is rather limited, I am afraid that the above array wastes too much stack memory. So I would like to know what is the recommended size for a variable on the stack? Should I allocate the above array using kmalloc() instead of putting it on stack? Thank you a lot, AQ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/