|
发表于 2007-11-15 00:58:16
|
显示全部楼层
研究一下page,segment,block,sector的大小和包含关系就清出了(《Understanding the Linux Kernel》):
sector: 512bytes, basic unit of data transfer
block (buffer_head): 512/1024/2048/4096, basic unit of data transfer for VFS and, consequently, for filesystem
segment:A segment is simply a memory page -- or a portion of a memory page -- that include the data of some adjacent disk sectors
page: 4K/2M/4M, buddy system内存管理的基本单位 |
|