Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kvm.c Create Date:2022-07-28 08:44:39
Last Modify:2020-03-16 21:33:46 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_async_page_fault

Proto:__attribute__((__externally_visible__)) void do_async_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
unsigned longerror_code
unsigned longaddress
251  Default
252  do_page_fault(regs, error_code, address)
253  Break
254  Case kvm_read_and_reset_pf_reason() == KVM_PV_REASON_PAGE_NOT_PRESENT
256  prev_state = exception_enter()
257  @interrupt_kernel: Is this called from a routine which interrupts the kernel* (other than user space)?
258  exception_exit(prev_state)
259  Break
260  Case kvm_read_and_reset_pf_reason() == KVM_PV_REASON_PAGE_READY
261  _irq_enter - inform RCU that current CPU is entering irq away from idle* Enter an interrupt handler, which might possibly result in exiting* idle mode, in other words, entering the mode in which read-side critical* sections can occur
262  kvm_async_pf_task_wake((u32)address)
263  _irq_exit - inform RCU that current CPU is exiting irq towards idle* Exit from an interrupt handler, which might possibly result in entering* idle mode, in other words, leaving the mode in which read-side critical* sections can occur
264  Break