ºìÁªLinuxÃÅ»§
Linux°ïÖú

LinuxϵͳԭÀí֪ʶ ½ø³ÌÇл»µÄ¸ÅÄî½éÉÜ

·¢²¼Ê±¼ä:2008-04-09 22:25:28À´Ô´:ºìÁª×÷Õß:Koogcjz
Ò»¡¢tast_struct½á¹¹
ËüÊÇÒ»¸öÊý¾Ý½á¹¹£¬¿ÉÒÔ˵£¬Ëü´ú±íÁËÒ»¸ö½ø³Ì¡£ËüÓкܶà×ֶΣ¬´óÌåÓÐһϼ¸ÖÖ£º

±êʶºÅ£º½ø³Ì±êʶ¡¢Óû§±êʶ¡¢×é±êʶ¡£

״̬£º LinuxµÄ½ø³ÌµÄËÄÖÖ»ù±¾×´Ì¬

µ÷¶ÈÐÅÏ¢£ºÓÅÏȼ¶¡¢Ê±¼äƬµÈ

½ø³ÌÁ´ÐÅÏ¢£º¸¸½ø³Ì¡¢×Ó½ø³ÌµÄÖ¸Õë

ÎļþÐÅÏ¢£º´ò¿ªÎļþ¡¢ÐéÄâÎļþϵͳ

ÉÏÏÂÎÄÐÅÏ¢£º½ø³ÌµÄÔËÐл·¾³

¶þ¡¢I386ÌåϵµÄÈÎÎñ¹ÜÀíºÍµ÷¶È
I386Ìåϵ´ÓÓ²¼þÉÏÖ§³ÖÈÎÎñ¼äµÄÇл»¡£Îª´ËÄ¿µÄ£¬ÔöÉèÁËÒ»ÖÖÐ¶ΣºÈÎÎñ״̬¶Î£¨TSS£©£¬Ê×ÏÈËüºÍÊý¾Ý¶Î¡¢´úÂë¶ÎÒ»ÑùÒ²ÊÇÒ»ÖֶΣ¬Æä´ÎËü¼Ç¼ÁËÈÎÎñµÄ״̬ÐÅÏ¢¡£

ÓëÆäËü¶ÎÒ»Ñù£¬Ò²ÓÐÃèÊöËüµÄ½á¹¹£ºTSSÃèÊö·û±í£¬Ëü¼Ç¼ÁËÒ»¸öTSSµÄÐÅÏ¢£¬Í¬Ê±»¹ÓÐÒ»¸öTR¼Ä´æÆ÷£¬ËüÖ¸Ïòµ±Ç°ÈÎÎñµÄTSS¡£ÈÎÎñÇл»µÄʱºò£¬cpu»á½«Ô­¼Ä´æÆ÷µÄÄÚÈÝд³öµ½ÏàÓ¦µÄTSS£¬Í¬Ê±½«ÐÂTSSµÄÄÚÈÝÌîµ½¼Ä´æÆ÷ÖУ¬ÕâÑù¾ÍʵÏÖÁËÈÎÎñµÄÇл»¡£

Èý¡¢Linux½ø³ÌÇл»
LinuxÈÎÎñÇл»ÊÇͨ¹ýswitch_toÕâ¸öºêʵÏֵģ¬ËüÀûÓó¤ÌøÖ¸Áµ±³¤ÌøÖ¸ÁîµÄ²Ù×÷ÊýÊÇTSSÃèÊö·ûµÄʱºò£¬¾Í»áÒýÆðCPUµÄÈÎÎñµÄÇл»£¬´Ëʱ£¬cpu½«ËùÓмĴæÆ÷µÄ״̬±£´æµ½µ±Ç°ÈÎÎñ¼Ä´æÆ÷TRËùÖ¸ÏòµÄTSS¶Î£¨µ±Ç°ÈÎÎñµÄÈÎÎñ״̬¶Î£©ÖУ¬È»ºóÀûÓó¤ÌøÖ¸ÁîµÄ²Ù×÷Êý£¨TSSÃèÊö·û£©ÕÒµ½ÐÂÈÎÎñµÄTSS¶Î£¬²¢½«ÆäÖеÄÄÚÈÝÌîдµ½¸÷¸ö¼Ä´æÆ÷ÖУ¬×îºó£¬½«ÐÂÈÎÎñµÄTSSÑ¡Ôñ·û¸üе½TRÖС£ÕâÑùϵͳ¾ÍÕýʽ¿ªÊ¼ÔËÐÐÐÂÇл»µÄÈÎÎñÁË¡£ÉÏÃæÌáµ½µÄtask_structÖеÄtss³ÉÔ±¾ÍÊǼǼTSS¶ÎÄÚÈݵġ£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ