Stack overflow code, can someone please explain this

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux