Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:26:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This routine has two main purposes:* 1) Decrement the reservation count (resv_huge_pages) by the value passed* in unused_resv_pages
Proto:static void return_unused_surplus_pages(struct hstate *h, unsigned long unused_resv_pages)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct hstate * | h | |
unsigned long | unused_resv_pages |
1801 | If hstate_is_gigantic(h) Then Go to out |
1808 | nr_pages = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(unused_resv_pages, surplus_huge_pages) |
1823 | resv_huge_pages-- |
1824 | unused_resv_pages-- |
1830 | out : |
1832 | resv_huge_pages -= unused_resv_pages |
Name | Describe |
---|---|
hugetlb_acct_memory | Forward declaration |
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 |