Function report |
Source Code:fs\file_table.c |
Create Date:2022-07-28 20:01:53 |
Last Modify:2020-03-18 10:20:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:One file with associated inode and dcache is very roughly 1K. Per default* do not use more than 10% of our memory for files.
Proto:void __init files_maxfiles_init(void)
Type:void
Parameter:Nothing
393 | nr_pages = totalram_pages() |
394 | memreserve = (nr_pages - Definition of global_zone_page_state not available yet ()) * 3 / 2 |
396 | memreserve = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(memreserve, nr_pages - 1) |
397 | n = (nr_pages - memreserve) * PAGE_SIZE / 1024 / 10 |
399 | unable = max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, n, his can well be larger on a larger system ) |
Name | Describe |
---|---|
vfs_caches_init |
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 |