Message-ID: <4H86aj$zLP@smth.org>
Subject: ����kernel-system service routines������
Date: Wed, 09 Mar 2005 09:19:10 +0000
From: ty1986@smth.org-SPAM.no (Mekanizumu)
Path: news.cnusenet.org!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.development.kernel.mbox.zip!g2news1.google.com!news3.google.com!newshub.sdsu.edu!newsfeed.media.kyoto-u.ac.jp!maily.cic.tsinghua.edu.cn!SMTH
Newsgroups: cn.bbs.comp.unix.development.kernel
Organization: BBS 水木�华站
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: KernelTech/G/M.1110359277.o0
Xref: news.cnusenet.org cn.bbs.comp.unix.development.kernel:28607
1.����一��system call时�����什么时�����kernel mode�模�����execve���诘���ex
ecve�����探�����execve�目�头����时����user mode�桑�
然�����int 0x80�沤���kernel mode�摹� �����execve�������卸隙��羌����������
������要��什么时��沤���kernel mode������ioctl()��������if_ioctl()
�遣���system call�诓����玫�一�泻������探���kernel mode��
2.一��kernel service routing���������燃�����叩��卸希��约�����I/O����时���被
preempt��
���卸�preempt������,��������I/O���要preempt�������service routing也太
��Process�税桑�
�铱��牟���系统����6th.712页�����原��:"a system-call service routine calls t
he scheduler while it is in kernel mode,either explicitly by making a direct
call to the scheduling code or implicity by calling a function to wait for
I/O to complete, then the process will be suspended and a reschedule will oc
cur"
注����话���都����process����省�
�揖捅�弄��涂�耍�service routing����process��������
--
[m[1;32m�� ��源:��BBS 水木�华站 smth.org��[FROM: 220.112.191.*][m