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

--

�� ��源:��BBS 水木�华站 smth.org��[FROM: 220.112.191.*]