進程render要讀取一個scene.dat文件過程(normal and mmap)

加入一個進程render要讀取一個scene.dat文件,實際發生的步驟如下 1. render進程向內核發起讀scene.dat文件的請求 2. 內核根據scene.dat的inode找到對應的address_space( struct inode->struct address_space *i_mapping; ),在address_space中查找頁緩存,如果沒有找到,那麼分配一個內存頁p
相關文章
相關標籤/搜索