Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:08:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Initialise min_free_kbytes
Proto:int __meminit init_per_zone_wmark_min(void)
Type:int
Parameter:Nothing
| 7831 | new_min_free_kbytes = _sqrt - computes the integer square root*@x: integer of which to calculate the sqrt* Computes: floor(sqrt(x)) |
| 7833 | If new_min_free_kbytes > user_min_free_kbytes Then |
| 7835 | If min_free_kbytes < 128 Then min_free_kbytes = 128 |
| 7837 | If min_free_kbytes > 65536 Then min_free_kbytes = 65536 |
| 7839 | Else |
| 7840 | pr_warn("min_free_kbytes is not updated to %d because user defined value %d is preferred\n", new_min_free_kbytes, user_min_free_kbytes) |
| 7844 | refresh_zone_stat_thresholds() |
| 7848 | setup_min_unmapped_ratio() |
| 7849 | setup_min_slab_ratio() |
| 7852 | Return 0 |
| 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 |