Function report |
Source Code:ipc\shm.c |
Create Date:2022-07-28 16:47:26 |
Last Modify:2020-03-17 22:58:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Calculate and add used RSS and swap pages of a shm.* Called with shm_ids.rwsem held as a reader
Proto:static void shm_add_rss_swap(struct shmid_kernel *shp, unsigned long *rss_add, unsigned long *swp_add)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct shmid_kernel * | shp | |
unsigned long * | rss_add | |
unsigned long * | swp_add |
837 | inode = file_inode(shm_file) |
839 | If is_file_hugepages(shm_file) Then |
841 | h = hstate_file(shm_file) |
842 | rss_add += pages_per_huge_page(h) * nrpages |
843 | Else |
Name | Describe |
---|---|
shm_get_stat | Called with shm_ids.rwsem held as a reader |
sysvipc_shm_proc_show |
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 |