lkml.org 
[lkml]   [2000]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectquick questions: kernel stack size and call gates
Date
1.  Does Linux use call gates (as specified in the Intel SDK vol.3) when a
user process makes a system call? From what I understand, call-gates let a
ring-3 process execute ring-0 code, which sounds exactly like a system call.
I've found all of the actual system call functions (sys_ni etc.) in sys.c,
but where is the code which userland calls to transfer to "kernel mode" and
execute a particular syscall?

2. I've often heard that the kernel stack size is set small (4 or 8k?). Is
this done by limiting the size of the stack segment itself for the kernel?
Where is the code which sets up the limit?

tia
chris

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

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site