lkml.org 
[lkml]   [1998]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Differences between FreeBSD and Linux system call mechanism
On Thu, Sep 03, 1998 at 02:47:10PM +0100, Alan Cox wrote:
>
> > 1) Linux system calls are done using software interrupt 0x80 on ia32.
> > Does this qualify as a "call-gate based kernel entry"?
>
> No. Call gates are a paticular intel mechanism for jumping between rings
> (priviledge levels). You can see an example of this in the iBCS2 handlers
> since iBCS uses call gates. An int based call is faster, and sysenter
> is potentially faster still but sysenter is only on some later PII chips
>

Doesn't this mean that it would be a good idea to let the kernel
implement system calls by mapping a page into user-space containing
the appropriate assembly instructions to most efficiently do the
system calls?

astor

--
Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway
http://www.guardian.no/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.093 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site