Patent ID: 7953854

Claim:
A computer program product, in a hardware computer readable medium, for modifying the operation of a host channel adapter in a system area network endnode, the computer program product comprising: instructions for sending a remote access redirect mode enable marker message to the host channel adapter, wherein the remote access redirect mode enable marker message is an immediate marker message that is interpreted by the host channel adapter, wherein the host channel adapter remains in a remote access redirect mode of operation until a remote access redirect mode disable marker message is received; instructions, responsive to a receipt of the marker message, for placing the host channel adapter in a remote access redirect mode of operation, wherein the remote access redirect mode of operation converts memory access messages into receive messages, and wherein the remote access redirect mode of operation further causes access requests to protected portions of system memory to be redirected to software running in a host system, wherein the access requests are redirected to software running in the host system by converting the access requests to receive work requests that are posted to a queue pair associated with the software, and wherein the queue pair associated with the software is a different queue pair than a queue pair associated with an application with which the channel communicates; instructions, responsive to receiving an access request to a protected portion of an application memory space, for performing a copy-on-write remap of the protected portion of the application memory space; and instructions, responsive to performing the copy-on-write remap, for updating a translation table in the host channel adapter to redirect access requests to the protected portion of the application memory space to an operating system kernel memory space.