推 Transfat: 第四感覺(b)(c)都行欸,(a)不像是"resovle"01/05 19:49
※ 編輯: h9638512 (182.235.130.102), 01/05/2017 19:50:21
→ h9638512: 我也這麼覺得 但他好像是單選 01/05 19:52
推 yupog2003: 第四題我看他的techniques是複數,也許是多選? 01/05 19:57
→ yupog2003: 也許要看白算盤看他描述這些techniques時是不是用 01/05 19:58
→ yupog2003: resolve這個詞了 01/05 19:59
→ yupog2003: 第7題也許可以朝deadlock prevention打破hold and wait 01/05 20:00
→ yupog2003: 下手? 01/05 20:00
→ yupog2003: 第五題的敘述跟101年交大OS第四題的解答矛盾了 01/05 20:02
→ yupog2003: 101年交大第四題d選項說:Each process has an 01/05 20:02
→ yupog2003: individual page table in the structure of inverted 01/05 20:03
→ yupog2003: page table,然後答案是E,以上皆非 01/05 20:03
→ yupog2003: 然後成大請我們解釋為何需要per-process page table@@ 01/05 20:04
→ yupog2003: 我在猜那個per-process page table應該是hashed page 01/05 20:17
→ yupog2003: table,因為搜尋inverted page table很花時間,所以另 01/05 20:18
→ yupog2003: 外每個process可以有一個自己的hashed page table 01/05 20:18
→ yupog2003: 將virtual address對應到inverted page table的index 01/05 20:19
→ yupog2003: 這是wiki寫的 01/05 20:22
→ yupog2003: 不知道這裡的hash table可不可以理解成inverted page 01/05 20:34
→ yupog2003: table的快取的概念? 01/05 20:35
→ h9638512: 所以它的第第二小題就是當每次process要physical addre 01/05 21:46
→ h9638512: ss就要先到自己的hash page table找inverted page tabl 01/05 21:46
→ h9638512: e的index這樣? 01/05 21:46
→ yupog2003: 如果是我我會這樣寫沒錯,可是我也沒答案QQ 01/05 21:50
→ h9638512: 第七題是在考semaphore用no busy waiting的方法嗎? 01/05 22:15
→ h9638512: process執行wait但資源不足時,讓process去I/O device q 01/05 22:19
→ h9638512: ueue等待 01/05 22:19
→ h9638512: 等到有process執行signal有資源可用時,在喚醒在等待的 01/05 22:19
→ h9638512: process,這樣就不會有spinlock 01/05 22:19
→ h9638512: 不知道這樣解釋對不對? 01/05 22:19
推 DZASHIANG: 第四題鼎茂課本上p571給abc 01/06 20:35
→ h9638512: 原來是多選 01/06 22:59