Hi Trying to do something very simple and failing miserably... I want to dump out the amount of stack size I have left at different points in my LKM driver. In order to do this I believe I need to know the value of 'current' and 'esp'. However, I'm getting wildly different values for them using this code: printk("esp=%08X current=%08X \n", (uint)current_stack_pointer, (uint)current ); Outputs: esp=237B5C19 current=0D8BE8B0 The value for current seems wrong, shouldn't it align on a page boundary ? I must be doing something stupid ? I'm using a kernel of 2.6.5 (FC2). Thanks dom -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/