隨筆 - 53, 文章 - 0, 評論 - 3, 引用 - 0
          數(shù)據(jù)加載中……

          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 閱讀(133) 評論(0)  編輯  收藏


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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 辰溪县| 平罗县| 山东省| 丹阳市| 永靖县| 邵东县| 多伦县| 湛江市| 扬中市| 绥宁县| 确山县| 阳朔县| 云浮市| 资源县| 郑州市| 宁乡县| 靖西县| 固始县| 西华县| 呼和浩特市| 高陵县| 屏南县| 永春县| 长沙市| 永济市| 礼泉县| 武夷山市| 宿松县| 昌都县| 商丘市| 尼勒克县| 安仁县| 寻甸| 连云港市| 顺义区| 新安县| 腾冲县| 岳普湖县| 南召县| 兴安县| 泸定县|