隨筆 - 53, 文章 - 0, 評論 - 3, 引用 - 0
          數據加載中……

          Basics of Virtual Memory Area

          Virtual Memory Area

          Virtual Memory Area is also called Memory Region in some book.

          In the process address spaces, there are many memory areas, contiguous addresses wil be divided into different memory area if the access right of them are different. For example, in one Java Process, there are 359 memory areas.

          so the kernel need to find a effective way to insert into, remove from, search from the list of memory areas. The semantics of find_area  API is the as the following.

          return null if
              1. The list itself is empty.
              2. The list is not empty, and the address is big than the last memory area.

          return found area if
              1. the address is in the region of one area.
              2. the address is not in the region of any area. but is not bigger than the last area.       
                  it means it is in the hole between areas. right area besides the hole is returned.
                 
           
           
           

          posted on 2008-08-05 17:34 InPractice 閱讀(132) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 顺昌县| 宜宾县| 孟州市| 密山市| 龙川县| 西乌珠穆沁旗| 星座| 岚皋县| 西丰县| 昌乐县| 万州区| 宁远县| 祁阳县| 华容县| 韶山市| 黄冈市| 昌邑市| 拜泉县| 鄂温| 大宁县| 邵东县| 罗定市| 日照市| 抚远县| 乌拉特中旗| 阿合奇县| 玉林市| 固阳县| 河池市| 阿拉善左旗| 乌拉特前旗| 汉中市| 辽阳市| 卢氏县| 壤塘县| 两当县| 高台县| 博乐市| 辽中县| 娄烦县| 社旗县|