| Function report | 
| Source Code: include\asm-generic\pgtable.h | Create Date:2022-07-28 06:00:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:This function is meant to be used by sites walking pagetables with* the mmap_sem hold in read mode to protect against MADV_DONTNEED and* transhuge page faults
Proto:static inline int pmd_none_or_trans_huge_or_clear_bad(pmd_t *pmd)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| pmd_t * | pmd | 
| 1004 | pmdval = pmd_read_atomic(pmd) | 
| 1037 | If pmd_none(pmdval) || pmd_trans_huge(pmdval) || IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_ARCH_ENABLE_THP_MIGRATION) && Not pmd_present(pmdval) Then Return 1 | 
| 1041 | pmd_clear_bad(pmd) | 
| 1042 | Return 1 | 
| 1044 | Return 0 | 
| Name | Describe | 
|---|---|
| zap_pmd_range | |
| unuse_pmd_range | 
| 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 |