Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-28 06:00:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:he pte page can be thought of an array like this: pte_t[PTRS_PER_PTE]* this function returns the index of the entry in the pte page which would* control the given virtual address

Proto:static inline unsigned long pte_index(unsigned long address)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longaddress
831  Return address >> PAGE_SHIFT determines the page size & he i386 is two-level, so we don't really have any* PMD directory physically. - 1