# US 2010/0250908 A1 · Concurrent Patching of Operating Systems

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

- Number: US 2010/0250908 A1
- Document ID: US20100250908A1
- Status: Published application
- Kind: A1
- Application number: 12/645,617
- Filed: 2010-03-08
- Published: 2010-09-30
- Earliest claimed: 2009-03-26
- Assignees: International Business Machines Corporation
- Inventors: Stefan Amann; Robert Breker; Holger Smolinski
- Web page: https://patentgrep.com/patent/US20100250908A1

## CPC

- G06F 8/656: while running
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Replacing a computer program with a replacement version concurrently with its execution by a first instance of an operating system in a computer system, wherein a persistent memory area in the computer system is used to store selected data from the first instance. A snapshot image of a second instance of the operating system, wherein in the second instance the replacement version was executed instead of said computer program, is provided to the computer system. The execution of the first instance is suspended and the first instance is replaced with data from the snapshot image while preserving the persistent memory area. The execution of the first instance is resumed and data from the persistent memory area is restored in the first instance.

## Claims

### Claim 1

A method for replacing a computer program with a replacement version concurrently with its execution by a first instance of an operating system in a computer system, the method comprising:
providing a persistent memory area in said computer system to store selected data from said first instance;
providing a snapshot image of a second instance of the operating system, wherein in said second instance the replacement version was executed instead of said computer program;
suspending the execution of said first instance and replacing said first instance with data from said snapshot image while preserving said persistent memory area; and
resuming the execution of said first instance and restoring data from said persistent memory area in said first instance.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
registering a component for storing selected data in said persistent memory area;
selecting data by the registered component;
storing the selected data in said persistent memory area; and
restoring the selected data for said registered component.

### Claim 3 (depends on 2)

The method of claim 2, further comprising notifying said registered component about a snapshot action.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
selecting and storing data in the persistent memory area by the registered component when the registered component receives notification about the start of a snapshot load action; and
restoring the selected data from the persistent memory area by the registered component when said component receives a notification about the completion of the snapshot load action.

### Claim 5 (depends on 1)

The method according to claim 1, wherein said operating system comprises a kernel and a user space, wherein only said kernel is replaced with data from said snapshot image, while said user space is preserved.

### Claim 6

A computer program product for replacing a computer program with a replacement version concurrently with its execution by a first instance of an operating system in a computer system, the computer program product comprising:
a storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
providing a persistent memory area in said computer system to store selected data from said first instance;
providing a snapshot image of a second instance of the operating system, wherein in said second instance the replacement version was executed instead of said computer program;
suspending the execution of said first instance and replacing said first instance with data from said snapshot image while preserving said persistent memory area; and
resuming the execution of said first instance and restoring data from said persistent memory area in said first instance.

### Claim 7 (depends on 6)

The computer program product of claim 6, further comprising:
registering a component for storing selected data in said persistent memory area;
selecting data by the registered component;
storing the selected data in said persistent memory area; and
restoring the selected data for said registered component.

### Claim 8 (depends on 7)

The computer program product of claim 7, further comprising notifying said registered component about a snapshot action.

### Claim 9 (depends on 8)

The computer program product of claim 8, further comprising:
selecting and storing data in the persistent memory area by the registered component when the registered component receives notification about the start of a snapshot load action; and
restoring the selected data from the persistent memory area by the registered component when said component receives a notification about the completion of the snapshot load action.

### Claim 10 (depends on 6)

The computer program product according to claim 6, wherein said operating system comprises a kernel and a user space, wherein only said kernel is replaced with data from said snapshot image, while said user space is preserved.

### Claim 11

A device for replacing a computer program with a replacement version concurrently with its execution by a first instance of an operating system in a computer system, comprising a persistent memory area in said computer system to store selected data from said first instance; and a kernel module to:
i) access a snapshot image of said first instance;
ii) suspend the execution of said first instance and to replace said first instance with data from a snapshot image while preserving said persistent memory area; and
iii) resume the execution of said first instance and restore data from said persistent memory area in said first instance.

### Claim 12 (depends on 11)

The device of claim 11, comprising at least one kernel module to:
register a component for storing selected data in said persistent memory area;
select data in the registered component;
store the selected data in said persistent memory area; and
restore the selected data for said registered component.

### Claim 13 (depends on 12)

The device of claim 12, comprising at least one kernel module to notify said registered component about a snapshot action.

### Claim 14 (depends on 13)

The device of claim 13 wherein said registered component is responsive to receiving a notification about the start of a snapshot image generation action and selects and stores data in said persistent memory area;

### Claim 15 (depends on 13)

The device of claim 13 wherein said registered component is responsive to receiving a notification about the completion of a snapshot load action and restores the selected data from said persistent memory area.

### Claim 16 (depends on 11)

The device according to claim 11, wherein said operating system comprises a kernel and a user space, wherein only said kernel is replaced with data from said snapshot image, while said user space is preserved.
