Hi, Stack overflow code, can someone please explain this, it is there in do_IRQ() kernel function ********* __asm__ __volatile__( "andl %%esp,%0" : "=r" (esp) : "0" (THREAD_SIZE-1)); ********* Also, Could there be any other simpler way do calculate stack overflow without using assembly code. Thanks and Regards Deepak -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/