Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:25:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Add the huge page range represented by [f, t) to the reserve* map
Proto:static long region_add(struct resv_map *resv, long f, long t)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct resv_map * | resv | |
| long | f | |
| long | t |
| 316 | add = 0 |
| 330 | VM_BUG_ON(region_cache_count <= 0) |
| 332 | region_cache_count-- |
| 342 | Go to out_locked |
| 345 | add = Must be called with resv->lock held. Calling this with count_only == true* will count the number of pages to be added but will not modify the linked* list. |
| 347 | out_locked : |
| 348 | adds_in_progress-- |
| 349 | spin_unlock( & lock) |
| 351 | Return add |
| Name | Describe |
|---|---|
| __vma_reservation_common | |
| hugetlb_reserve_pages |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |