发明名称 Synchronous User Space Function Execution from a Kernel Context
摘要 The approaches described herein implement synchronous execution of a user space operation from a kernel context. A thread, executing on a computing device, initializes a second kernel stack based on a first kernel stack. The computing device executes an operating system having a user space and a kernel space. The thread, executing in kernel space, performs a non-blocking call (e.g., an upcall) to execute an upcall function in user space. The upcall function may further call other user space functions or system calls. The system calls are performed using the second kernel stack. Upon termination of the upcall function, the thread continues execution on the first kernel stack.
申请公布号 US2015212855(A1) 申请公布日期 2015.07.30
申请号 US201414304480 申请日期 2014.06.13
申请人 VMware, Inc. 发明人 Klee Christoph;Gunti Mukund;Drzewiecki Adrian
分类号 G06F9/50;G06F9/52 主分类号 G06F9/50
代理机构 代理人
主权项 1. A system for synchronous execution of a user space operation from a kernel context, the system comprising: a memory area storing an operating system having a kernel space and a user space; and a processor programmed to: initialize, from a thread executing in the user space, an upcall mode into the kernel space;perform, by the same thread from the kernel space via the initialized upcall mode, a function in the user space; andupon completion of the function in the user space, return to the kernel space to perform another function from the thread.
地址 Palo Alto CA US