Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:50:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Initialise sysctl_user_reserve_kbytes.* This is intended to prevent a user from starting a single memory hogging* process, such that they cannot recover (kill the hog) in OVERCOMMIT_NEVER* mode.* The default value is min(3% of free memory, 128MB)
Proto:static int init_user_reserve(void)
Type:int
Parameter:Nothing
3650 | free_kbytes = global_zone_page_state( First 128 byte cacheline (assuming 64 bit words) ) << PAGE_SHIFT determines the page size - 10 |
3652 | sysctl_user_reserve_kbytes = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(free_kbytes / 32, 1UL << 17) |
3653 | Return 0 |
Name | Describe |
---|---|
reserve_mem_notifier | Reinititalise user and admin reserves if memory is added or removed |
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 |