Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:FOLL_FORCE can write to even unwritable pmd's, but only* after we've gone through a COW cycle and they are dirty.

Proto:static inline bool can_follow_write_pmd(pmd_t pmd, unsigned int flags)

Type:bool

Parameter:

TypeParameterName
pmd_tpmd
unsigned intflags
1462  Return pmd_write(pmd) || flags & get_user_pages read/write w/o permission && flags & rnal GUP flag && pmd_dirty(pmd)
Caller
NameDescribe
follow_trans_huge_pmd