Back to results
US 2015/0317262 A1Published application
Executing a kernel device driver as a user space process
AssigneeInternational Business Machines Corporation
InventorsMichael ADDA, Dan ALONI, Avner BRAVERMAN
Life of this patent
Estimating the term…
Abstract
A method, including receiving, by a user space driver framework (UDF) library executing from a user space of a memory over a monolithic operating system kernel, a kernel application programming interface (API) call from a device driver executing from the user space. The UDF library then performs an operation corresponding to the kernel API call.
Claims12
A method, comprising:
- receiving, by a user space driver framework (UDF) library executing from a user space of a memory over an operating system kernel operated by a device driver executing from the user space, a kernel application programming interface (API) call from a device driver executing from the user space;
- determining that the operation comprises a privileged operation, wherein if the operation is non-privileged:
- performing, by the UDF library, an operation corresponding to the kernel API call, and
- detecting an interrupt and sending a notification of the interrupt via the file descriptor to the UDF library, wherein upon receiving the notification:
- scheduling by a scheduler an execution of an interrupt handling of the interrupt handling code of the device driver, wherein the interrupt handling code is a component of device driver configured to perform each one of:
- receiving a notification of an incoming message from a remote network node, and
- receiving a notification of a failure in firmware controlling a host bus adaptor (HBA).
4 more elements
A computer program product, the computer program product comprising:
- a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:
- computer readable program code configured to receive, by a user space driver framework (UDF) library executing from a user space of a memory over an operating system kernel operated by a device driver executing from the user space, a kernel application programming interface (API) call from a device driver executing from the user space;
- and
- computer readable program code configured to, if the operation is non-privileged, perform an operation, by the UDF library, corresponding to the kernel API call, and an interrupt is detected and a notification of the interrupt is sent via the file descriptor to the UDF library, wherein upon receiving the notification:
- a scheduler schedules an execution of an interrupt handling of the interrupt handling code of the device driver, wherein the interrupt handling code is a component of the device driver configured to perform each one of receiving a notification of an incoming message from a remote network node, and receiving a notification of a failure in firmware controlling a host bus adaptor (HBA).
2 more elements
Dependencies are inferred from the claim text.