Function report |
Source Code:mm\page_counter.c |
Create Date:2022-07-28 16:07:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page_counter_cancel - take pages out of the local counter*@counter: counter*@nr_pages: number of pages to cancel
Proto:void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page_counter * | counter | |
| unsigned long | nr_pages |
| 59 | new = atomic_long_sub_return(nr_pages, & usage) |
| 62 | WARN_ON_ONCE(new < 0) |
| Name | Describe |
|---|---|
| page_counter_try_charge | page_counter_try_charge - try to hierarchically charge pages*@counter: counter*@nr_pages: number of pages to charge*@fail: points first counter to hit its limit, if any* Returns %true on success, or %false and @fail if the counter or one |
| page_counter_uncharge | page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge |
| hugetlb_cgroup_move_parent | Should be called with hugetlb_lock held.* Since we are holding hugetlb_lock, pages cannot get moved from* active list or uncharged from the cgroup, So no need to get* page reference and test for page active here. This function* cannot fail. |
| 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 |