Function report |
Source Code:mm\page_counter.c |
Create Date:2022-07-28 16:07:33 |
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_set_max - set the maximum number of pages allowed*@counter: counter*@nr_pages: limit to set* Returns 0 on success, -EBUSY if the current number of pages on the* counter already exceeds the specified limit.
Proto:int page_counter_set_max(struct page_counter *counter, unsigned long nr_pages)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page_counter * | counter | |
unsigned long | nr_pages |
175 | cycle |
190 | usage = atomic_long_read( & usage) |
197 | If atomic_long_read( & usage) <= usage Then Return 0 |
201 | cond_resched() |
Name | Describe |
---|---|
mem_cgroup_resize_max | |
memcg_update_kmem_max | |
memcg_update_tcp_max | |
mem_cgroup_css_reset | mem_cgroup_css_reset - reset the states of a mem_cgroup*@css: the target css* Reset the states of the mem_cgroup associated with @css. This is* invoked when the userland requests disabling on the default hierarchy |
hugetlb_cgroup_init | |
hugetlb_cgroup_write |
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 |