Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__get_fault_gfp_mask

Proto:static gfp_t __get_fault_gfp_mask(struct vm_area_struct *vma)

Type:gfp_t

Parameter:

TypeParameterName
struct vm_area_struct *vma
2317  vm_file = File we map to (can be NULL).
2319  If vm_file Then Return mapping_gfp_mask(f_mapping) | __GFP_FS | DOC: Reclaim modifiers* Reclaim modifiers* ~~~~~~~~~~~~~~~~~* %__GFP_IO can start physical IO.* %__GFP_FS can call down to the low-level FS. Clearing the flag avoids the* allocator recursing into the filesystem which might already be holding* locks.
2326  Return GFP_KERNEL
Caller
NameDescribe
__handle_mm_faultBy the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry().