Linux ã«ã¼ãã«ã®ããã»ã¹ã¹ã±ã¸ã¥ã¼ã©ã®æ ¸ã§ãã kernel/sched.c ã® schedule() ãèªã¿é²ãã¦ããã¨ãã¿ã¹ã¯åãæ¿ã(å®è¡ã³ã³ããã¹ãåãæ¿ã)ã¯ãã®åã context_switch() ã¨ããé¢æ°ã«éç´ããã¦ãããã¨ãåããã¾ãã2.6.20 ã® kernel/sched.c ã ã¨ä»¥ä¸ã®ã³ã¼ãã§ãã 1839 static inline struct task_struct * 1840 context_switch(struct rq *rq, struct task_struct *prev, 1841 struct task_struct *next) 1842 { 1843 struct mm_struct *mm = next->mm; 1844 struct mm_struct *oldmm = prev->active_mm; 1845 184
{{#tags}}- {{label}}
{{/tags}}