[理工] OS memory問題
剛剛看到一題,有點疑惑,想問大家
Consider the following hardware configuration. Virtual address=32 bits.
Page Size = 4KBytes, and a page table entry occupies 4 bytes. Hoe mamy
pages should OS allocate for the pages table of 12 Mbyte process under the
following mechanisms.
(a) one-level paging
答案是寫3 pages, 可是我怎麼覺得是3K pages. Process占用了12MB/4KB=3K pages
感覺有點被他的page跟entry混淆了~~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.231.183.120
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1422363676.A.BAD.html
推
01/27 21:31, , 1F
01/27 21:31, 1F
→
01/27 21:33, , 2F
01/27 21:33, 2F
→
01/27 21:33, , 3F
01/27 21:33, 3F
→
01/27 21:34, , 4F
01/27 21:34, 4F
→
01/27 22:40, , 5F
01/27 22:40, 5F
→
01/27 22:42, , 6F
01/27 22:42, 6F
推
01/27 22:45, , 7F
01/27 22:45, 7F
→
01/27 22:52, , 8F
01/27 22:52, 8F
→
01/27 23:49, , 9F
01/27 23:49, 9F
推
01/28 09:31, , 10F
01/28 09:31, 10F

→
01/28 09:32, , 11F
01/28 09:32, 11F
推
01/28 09:34, , 12F
01/28 09:34, 12F
推
01/28 10:25, , 13F
01/28 10:25, 13F
→
01/28 10:25, , 14F
01/28 10:25, 14F
→
01/28 10:26, , 15F
01/28 10:26, 15F
→
01/28 10:27, , 16F
01/28 10:27, 16F
推
01/28 10:33, , 17F
01/28 10:33, 17F
推
01/28 11:44, , 18F
01/28 11:44, 18F
推
01/28 11:54, , 19F
01/28 11:54, 19F
推
01/28 11:58, , 20F
01/28 11:58, 20F