Re: What is meant by fastpath and slowpath function in linux kernel?

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

 



On Fri, 2006-05-05 at 01:34 +0200, grundig wrote:
> 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

this is the default on x86-64 already even for userspace
(while on x86-32 it's only default for the kernel no)


--
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