看板 Grad-ProbAsk 關於我們 聯絡資訊
※ 引述《assassin88 (AI)》之銘言: : 題目是這樣的: : What is the copy-on-write feature and under what circumstances is it : beneficial to use the feature ? What is the herdware support requiresd to : implement this feature ? : 想請問一下如果遇到這個題目應該怎麼寫比較好?雖然恐龍上面有 copy-on-write 章節 : 不過總是很難發揮,可否請指導一下較完整的說法,感謝。 : 另外想請問,什麼是 edge-triggered? thx~ 當process產生 子程序(有點忘了名字sub-process or child)時,則共用page, 由於一般子程序為做exec()等執行,不會利用到共享資料,因此可以減少memory的浪費 若一旦子程序要寫入,則複製process的page到另外可用的free page,再對其進行寫入 至於硬體支援的話 copy時,需要有free frame去copy,OS比須有個 pool of free frames,利用 zero-fill-on-demand即需求時填入0,將之前的frame內容清除 edge-triggered 就是在clock切換0->1 或 1->0 的時候 進行運作 像pipeline 在 MEM stage 上升時做write 下降時做read 有錯請更正 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.32.183.45
assassin88:thx~ 01/13 00:08