[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is meant by fastpath and slowpath function in linux kernel?
El Thu, 4 May 2006 11:50:17 +0530,
"Manjunath Naik" <peter.desouzain@xxxxxxxxx> escribió:
> regparm (number)
>
> On the Intel 386, the regparm attribute causes the compiler to pass
> arguments number one to number if they are of integral type in registers
> EAX, EDX, and ECX instead of on the stack. Functions that take a variable
> number of arguments will continue to be passed all of their arguments on the
> stack.
Speaking of which, is this supported for x86-64? I'm curious; since x86-64
has more registers
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/