函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kvm.c Create Date:2022-07-27 09:43:47
Last Modify:2020-03-16 21:33:46 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_async_page_fault

函数原型:__attribute__((__externally_visible__)) void do_async_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
unsigned longerror_code
unsigned longaddress
251  默认
252  缺页异常处理函数
253  退出
254  :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  退出
260  :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  退出