发明名称 |
Asynchronous input/output (I/O) using alternate stack switching in kernel space |
摘要 |
A mechanism for asynchronous input/output (I/O) using second stack switching in kernel space is disclosed. A method of the invention includes receiving, by a kernel executing in a computing device, an input/output (I/O) request from an application thread executing using a first stack, allocating a second stack in kernel space of the computing device, switching execution of the thread to the second stack, and processing the I/O request synchronously using the second stack. |
申请公布号 |
US8850443(B2) |
申请公布日期 |
2014.09.30 |
申请号 |
US201113302326 |
申请日期 |
2011.11.22 |
申请人 |
Red Hat Israel, Ltd. |
发明人 |
Kivity Avi;Natapov Gleb |
分类号 |
G06F9/46 |
主分类号 |
G06F9/46 |
代理机构 |
Lowenstein Sandler LLP |
代理人 |
Lowenstein Sandler LLP |
主权项 |
1. A method, comprising:
receiving, by a kernel executed by a processing device, an input/output (I/O) request from a thread corresponding to an application, the thread executing using a first stack; allocating a second stack in kernel space of the processing device, the second stack having higher priority than the first stack; switching execution of the thread to the second stack; processing the I/O request synchronously using the second stack; and switching execution of the thread to the first stack when execution of the thread is blocked while processing the I/O request using the second stack. |
地址 |
Raanana IL |