发明名称 INPUT/OUTPUT (I/O) PROCESSING VIA A PAGE FAULT DOORBELL MECHANISM
摘要 Systems and methods are disclosed for processing an input/output (I/O) operation. An example system includes a kernel interface that receives a notification of a page fault. The page fault is responsive to an application attempting to perform an operation on a memory region that is set to a first access mode. When the memory region is set to the first access mode, the application does not have permission to perform the operation on the memory region. The system also includes a handler that responsive to the notification (i) sets the memory region to a second access mode and (ii) spawns a kernel thread to drain data from the memory region. When the memory region is set to the second access mode, the application has permission to perform the operation on the memory region. The system further includes an I/O module that stores the data in the memory region for processing.
申请公布号 US2015331812(A1) 申请公布日期 2015.11.19
申请号 US201414276376 申请日期 2014.05.13
申请人 Red Hat, Inc. 发明人 Horman Neil
分类号 G06F12/14;G06F11/07 主分类号 G06F12/14
代理机构 代理人
主权项 1. A method of processing an input/output (I/O) operation, comprising: receiving a notification of a page fault, the page fault being responsive to an application attempting to perform an operation on a memory region that is set to a first access mode, and the memory region being designated to the application, wherein when the memory region is set to the first access mode, the application does not have permission to perform the operation on the memory region; responsive to receiving the notification: setting the memory region to a second access mode, wherein when the memory region is set to the second access mode, the application has permission to perform the operation on the memory region; andspawning a kernel thread to drain data from the memory region; and storing the data in the memory region, wherein a hardware device processes the data.
地址 Raleigh NC US