看板 FB_hackers 關於我們 聯絡資訊
Hello All, =20 I am working on the 6.2 FreeBSD code base and has a couple of simple questions. The thread structure defines two priority fields "td_base_pri" and "td_priority" while a ksegrp defines "kg_user_pri" and "kg_pri_class".=20 =20 1. Since a ksegrp can have multiple "process scope" threads, how is kg_user_pri used and how is it related to td_base_pri and td_priority? 2. What is the difference between td_base_pri and td_priority? 3. If kg_user_pri changes, does it mean that the priority of all threads that are part of the ksegrp change? =20 It appears that these things change when a thread returns to user mode (returns to normal user priority), when returning from a sleep (priority boost) etc. =20 Thanks Ravi =20 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"