소스 검색

Update linux-mm-1.md

0xAX 10 년 전
부모
커밋
6adc680f31
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mm/linux-mm-1.md

+ 1 - 1
mm/linux-mm-1.md

@@ -177,7 +177,7 @@ static inline phys_addr_t memblock_cap_size(phys_addr_t base, phys_addr_t *size)
 }
 ```
 
-`memblock_cap_size` returns new size which is the smallest value between the given `size` and base.
+`memblock_cap_size` returns new size which is the smallest value between the given size and `ULLONG_MAX - base`.
 
 After that we have the end address of the new memory region, `memblock_add_region` checks overlap and merge condititions with already added memory regions. Insertion of the new memory region to the `memblcok` consists of two steps: