linux kernel : page frame management
Linux adopts the smaller 4KB page frame size as the standard memory allocation unit. this makes things simpler for two reasons :
1. The Page Fault exceptions issued by the paging circuitry are easily interpreted. either the page requested EXISTS but the process is NOT ALLOWED to address it, or the page does NOT EXISTS. in the second case, the memory allocator must find a free 4KB page frame and assign it to the process.
2. Although both 4KB and 4MB are multiples of ALL disk block sizes, transfers of data between main memory and disks are in most cases more EFFICIENT when the smaller size is used.
excerpted from Bovet, Cesati :Understanding the Linux kernel, 3rd ed., page 294-5.
linux kernel 讀書筆記
Wan Chin :
中共背叛民國,是滿洲王朝的復辟,黨官養奴蓄婢,淫樂過日。這位共黨官員並不是孤例,而是群體作風之中,較有優雅品味的一位。
辛辛苦苦,擔驚受怕,就為了製造好筆,練好毛筆字。讀了多日大陸新聞,這宗最清新風雅。
Roger Lee :
市面上pinyin愈來愈多, 殘體字亦愈來愈多... 不過唔少香港人仲打算繼續鴕鳥僥倖落去.
港人再唔反抗, 十年後講廣東話寫正體字會被歧視, 劣幣正式驅逐良幣.
由地產經濟轉型到實務經濟, 先可以一併解決併發社會問題.
Keine Kommentare:
Kommentar veröffentlichen