# US 2009/0024825 A1 · Real Time Paged Computing Device and Method of Operation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0024825 A1
- Document ID: US20090024825A1
- Status: Published application
- Kind: A1
- Application number: 11/817,386
- Filed: 2006-03-01
- Published: 2009-01-22
- Earliest claimed: 2005-03-02
- Assignees: Symbian Software Limited
- Inventors: Andrew Thoelke; Dennis May
- Web page: https://patentgrep.com/patent/US20090024825A1

## CPC

- G06F 12/126: with special data handling, e.g. priority of data or instructions, handling errors or pinning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A component of a computing device, such as the kernel of an operating system, is arranged to identify real time processes running on the device and transparently lock the memory owned by such processes to avoid them being paged out. The kernel is also able to inspect all inter-process communications originated by the real time threads running in such processes, in order to ascertain what other processes they invoke, and, if they have the potential to block a real time operation, the kernel is arranged to lock the areas of memory these processes reference. This procedure operates recursively, and ensures that page faults which might affect the operation of any real time process do not occur.

## Claims

### Claim 1

A method of providing real time performance with memory paging in a computing device, the method comprising enabling a component to
a. identify processes including a thread of execution requiring real time performance;
b. identify processes including a thread of execution requiring real time performance and invoked by a thread of execution which has been identified previously as requiring real time performance;
c. identify processes which own memory referenced by a thread of execution identified as requiring real time performance;
d. lock the memory belonging to all processes so identified for preventing the said memory from being paged out;
e. identify any process whose threads of execution no longer require real time performance; and
f. unlock memory no longer referenced by a thread of execution requiring real time performance.

### Claim 2 (depends on 1)

A method according to claim 1 wherein the component is selected to comprise an operating system kernel.

### Claim 3 (depends on 1)

A method according to claim 1 wherein the component is selected to comprise a memory management unit.

### Claim 4 (depends on 1)

A method according to claim 1 wherein the component is selected to comprise a plurality of sub-components.

### Claim 5 (depends on 1)

A method according to claim 1 wherein the component is arranged to distinguish between memory which would and memory which would not block or impact the performance of a real time thread if paged out, and to lock only the former.

### Claim 6 (depends on 1)

A method according to claim 1 wherein the component is arranged to monitor IPC calls.

### Claim 7 (depends on 1)

A method according to claim 1 wherein the component monitors client-server interactions.

### Claim 8 (depends on 7)

A method according to claim 7 wherein the component is arranged to monitor headers of descriptors in client memory.

### Claim 9 (depends on 7)

A method according to claim 7 wherein the component is arranged to count outstanding requests on the server.

### Claim 10 (depends on 7)

A method according to claim 7 wherein the component is arranged to count server sessions opened by real time clients.

### Claim 11 (depends on 7)

A method according to claim 7 wherein the component is arranged to terminate a request to page memory from a non real time client which is denied by the component with a failure code for facilitating resubmission of the request by the non real time client.

### Claim 12

A computing device comprising a component that is enabled to
a. identify processes including a thread of execution requiring real time performance;
b. identify processes including a thread of execution requiring real time performance and invoked by a thread of execution which has been identified previously as requiring real time performance;
c. identify processes which own memory referenced by a thread of execution identified as requiring real time performance;
d. lock the memory belonging to all processes so identified for preventing the said memory from being paged out;
e. identify any process whose threads of execution no longer require real time performance; and
f. unlock memory no longer referenced by a thread of execution requiring real time performance, thereby to provide real time performance with memory paging in the computing device.

### Claim 13 (depends on 12)

A device according to claim 12 wherein the component comprises an operating system kernel.

### Claim 14 (depends on 12)

A device according to claim 12 wherein the component comprises a memory management unit.

### Claim 15 (depends on 12)

A device according to claim 12 wherein the component comprises a plurality of sub-components.

### Claim 16 (depends on 12)

A device according to claim 12 wherein the component is arranged to distinguish between memory which would and memory which would not block or impact the performance of a real time thread if paged out, and to lock only the former.

### Claim 17 (depends on 12)

A device according to claim 12 wherein the component is arranged to monitor IPC calls.

### Claim 18 (depends on 12)

A device according to claim 12 wherein the component is arranged to monitor client-server interactions.

### Claim 19 (depends on 18)

A device according to claim 18 wherein the component is arranged to monitor headers of descriptors in client memory.

### Claim 20 (depends on 18)

A device according to claim 18 wherein the component is arranged to count outstanding requests on the server.

### Claim 21 (depends on 18)

A device according to claim 18 wherein the component is arranged to count server sessions opened by real time clients.

### Claim 22 (depends on 18)

A device according to claim 18 wherein the component is arranged to terminate a request to page memory from a non real time client which is denied by the component with a failure code for facilitating resubmission of the request by the non real time client.

### Claim 23 (depends on 1, 12)

An operating system for causing a computing device according to claim 12 to operate in accordance with a method as claimed in claim 1.
