Linux内存模型之bootmem分配器二(2)

  if (cache_is_vipt_aliasing()) {
   /*
    * Interactions between kmap and other mappings
    * make highmem support with aliasing VIPT caches
    * rather difficult.
    */
   reason = "with VIPT aliasing cache";
  }
  if (reason) {
   printk(KERN_CRIT "HIGHMEM is not supported %s, ignoring high memory\n",
    reason);
   while (j > 0 && meminfo.bank[j - 1].highmem)
    j--;
  }
 }
#endif
 meminfo.nr_banks = j;
 memblock_set_current_limit(lowmem_limit);
}


这里其中vmalloc_vin 定义为static void * __initdata vmalloc_min = (void *)(VMALLOC_END - SZ_128M);
而vmalloc_end在2440上定义为arch/arm/mach-s3c2410/include/mach/vmalloc.h
#define VMALLOC_END 0xF6000000UL

linux

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/22652.html