作者liataian (T-PANY FOREVER)
看板Grad-ProbAsk
標題[理工] [OS] 恐龍CH9 習題 兩個working set?
時間Mon Feb 6 00:00:22 2012
Is it possible for a process to have two working sets? One representing
data and another representing code? Explain.
Answer:
Yes, in fact many processors provide two TLB’s for this very
reason. As an example, the code being accessed by a process may retain
the same working set for a long period of time. However, the data the
code accesses may change, thus reflecting a change in the working set
for data accesses.
以上是題目跟答案 請問這題到底是在問什麼東西呀? 有點有看沒有懂...
自己翻成中文如下:
yes 許多processor提供兩個TLB 例如 process所access的code可能會保留
相同的working set很常一段時間 然而code所access的data可能改變 因此
反映出working set中data access的改變
以上為不負責任照字面翻... 可是看完後還是不懂解答在說什麼@@
可以請板友幫我解惑一下嗎 謝謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.57.123.227
推 saponevol23:就是問讓一個process一次使用兩個working set一個儲存 02/06 00:08
→ saponevol23:code部分一個儲存data部分 code參考區域的較固定所以 02/06 00:09
→ saponevol23:working set的內容不大會變動 data則相反 02/06 00:09
→ saponevol23:靠么 我在打什麼= = 你懂我的意思嗎 02/06 00:10
→ liataian:有點懂又不是很懂XD 我應該怎麼回答這題比較好@@? 02/06 00:19
推 saponevol23:就回答yes然後寫個像answer的範例就好了吧 02/06 00:24