-
公开(公告)号:US20120331480A1
公开(公告)日:2012-12-27
申请号:US13167311
申请日:2011-06-23
摘要: In embodiments of a programming interface for data communications, a request queue and a completion queue can be allocated from a user-mode virtual memory buffer that corresponds to an application. The request queue and the completion queue can be pinned to physical memory and then mapped to kernel-mode system addresses so that the request queue and the completion queue can be accessed by a kernel-mode execution thread. A request can be received from an application for the kernel to handle data in the request queue, and a system issued to the kernel for the kernel-mode execution thread to handle the request. The kernel-mode execution thread can then handle additional requests from the application without additional system calls being issued.
摘要翻译: 在用于数据通信的编程接口的实施例中,可以从对应于应用的用户模式虚拟存储器缓冲器分配请求队列和完成队列。 请求队列和完成队列可以固定到物理内存,然后映射到内核模式系统地址,以便可以通过内核模式执行线程访问请求队列和完成队列。 可以从内核的应用程序接收到处理请求队列中的数据的请求,以及向内核发送内核模式执行线程来处理请求的系统。 然后,内核模式执行线程可以处理来自应用程序的其他请求,而不会发出额外的系统调用。
-
公开(公告)号:US08752063B2
公开(公告)日:2014-06-10
申请号:US13167311
申请日:2011-06-23
摘要: In embodiments of a programming interface for data communications, a request queue and a completion queue can be allocated from a user-mode virtual memory buffer that corresponds to an application. The request queue and the completion queue can be pinned to physical memory and then mapped to kernel-mode system addresses so that the request queue and the completion queue can be accessed by a kernel-mode execution thread. A request can be received from an application for the kernel to handle data in the request queue, and a system issued to the kernel for the kernel-mode execution thread to handle the request. The kernel-mode execution thread can then handle additional requests from the application without additional system calls being issued.
摘要翻译: 在用于数据通信的编程接口的实施例中,可以从对应于应用的用户模式虚拟存储器缓冲器分配请求队列和完成队列。 请求队列和完成队列可以固定到物理内存,然后映射到内核模式系统地址,以便可以通过内核模式执行线程访问请求队列和完成队列。 可以从内核的应用程序接收到处理请求队列中的数据的请求,以及向内核发送内核模式执行线程来处理请求的系统。 然后,内核模式执行线程可以处理来自应用程序的其他请求,而不会发出额外的系统调用。
-