Method and apparatus for handling communication requests at a server without context switching
First Claim
1. A method of responding to an application protocol request, the method comprising the steps of:
- receiving the application protocol request;
establishing a user space request structure corresponding to the application protocol request;
creating a kernel request structure corresponding to the application protocol request, using data received from a client system in conjunction with the application protocol request;
updating the user space request structure in accordance with the kernel request structure so that an application in the user space can continue execution and an operating system at a server can respond to the application protocol request without context switching; and
responding to the application protocol request.
1 Assignment
0 Petitions
Accused Products
Abstract
Method and apparatus for handling communication requests at a server without context switching. An application protocol subsystem and protocol modules are disposed within an operating system kernel at a server. The protocol subsystem creates an “in-kernel” protocol stack that stores information regarding application protocol requests, such as HTTP and FTP requests, in a kernel request structure. A user space application can then continue execution while the operating system responds to the application protocol request without context switching. In this way, application protocol requests received over a network are handled and responded to by the server without causing a context switch.
25 Citations
20 Claims
-
1. A method of responding to an application protocol request, the method comprising the steps of:
-
receiving the application protocol request;
establishing a user space request structure corresponding to the application protocol request;
creating a kernel request structure corresponding to the application protocol request, using data received from a client system in conjunction with the application protocol request;
updating the user space request structure in accordance with the kernel request structure so that an application in the user space can continue execution and an operating system at a server can respond to the application protocol request without context switching; and
responding to the application protocol request. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product having computer program code embodied therein, the computer program code for enabling a server comprising an operating system having a kernel and a user space to respond to an application protocol request, the computer program code comprising:
-
instructions for receiving the application protocol request;
instructions for establishing a user space request structure corresponding to the application protocol request;
instructions for creating a kernel request structure corresponding to the application protocol request, using data received from a client system in conjunction with the application protocol request;
instructions for updating the user space request structure in accordance with the kernel request structure so that an application in the user space can continue execution and the operating system can respond to the application protocol request without context switching;
instructions for responding to the application protocol request; and
instructions for deleting the kernel request structure. - View Dependent Claims (8, 9, 10)
-
-
11. Apparatus comprising an operating system having a kernel and a user space, the apparatus operable to respond to an application protocol request, the apparatus comprising:
-
means for receiving the application protocol request;
means for establishing a user space request structure corresponding to the application protocol request;
means for creating a kernel request structure corresponding to the application protocol request, using data received from a client system in conjunction with the application protocol request;
means for updating the user space request structure in accordance with the kernel request structure so that an application in the user space can continue execution and an operating system at a server can respond to the application protocol request without context switching;
means for responding to the application protocol request; and
means for deleting the kernel request structure.
-
-
12. A server system including an operating system, the server system operable to respond to an application protocol request, the server system comprising:
-
a user space operable to establish and maintain a user space request structure corresponding to the application protocol request; and
an operating system kernel connected to the user space operable to maintain a kernel request structure corresponding to the application protocol request, using data received from a client system in conjunction with the application protocol request and to update the user space request structure so that the operating system can respond to the application protocol request without context switching. - View Dependent Claims (13, 14, 15, 16)
-
-
17. An instruction execution system operable as a communication protocol server comprising an operating system having a kernel and a user space, the instruction execution system operable to respond an application protocol request by performing the steps of:
-
receiving the application protocol request;
establishing a user space request structure corresponding to the application protocol request;
creating a kernel request structure corresponding to the application protocol request, using data received from a client system in conjunction with the application protocol request;
updating the user space request structure in accordance with the kernel request structure so that an application in the user space can continue execution and the operating system can respond to the application protocol request without context switching; and
responding to the application protocol request. - View Dependent Claims (18, 19, 20)
-
Specification