Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmalloc.c Create Date:2022-07-28 14:59:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lazy_max_pages

Proto:static unsigned long lazy_max_pages(void)

Type:unsigned long

Parameter:Nothing

1244  log = ls - find last set bit in word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffs, but returns the position of the most significant set bit.* fls(value) returns 0 if value is 0 or the position of the last
1246  Return log * 32UL * 1024 * 1024 / PAGE_SIZE
Caller
NameDescribe
set_iounmap_nonlazyalled before a call to iounmap() if the caller wants vm_area_struct's* immediately freed.
__purge_vmap_area_lazyPurges all lazily-freed vmap areas.
free_vmap_area_noflushFree a vmap area, caller ensuring that the area has been unmapped* and flush_cache_vunmap had been called for the correct range* previously.