1. An apparatus for preserving locked pages in memory when a process is operating in user mode, comprising: a processor; and a memory coupled to the processor, the memory including: an application requiring a plurality of memory pages in a locked state during execution; a user command daemon for executing a command string received from the application, the user command daemon configured to execute the command string while simultaneously retaining the plurality of memory pages in the locked state; and a socket interface disposed between the user command daemon and the application, for routing signals between the application and the user command daemon; wherein: the user command daemon provides a value to the socket interface in response to execution of the command string, and executes the command string on a same context as the application, the socket interface provides the value to the application, the application loads the value into the memory without causing latencies to the running of the application, and execution of the command string by the user command daemon while retain all process memory for the application in the locked state prevents unnecessary task suspensions when the value is loaded into the memory.