IP Library Granted Patent US 7,080,286
Granted Patent B2
US 7,080,286 · App. 10/002,466 · Granted Jul 18, 2006

Handling oversized rings through recursive calls

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,080,286
App. No.
10/002,466
Granted
Jul 18, 2006
Kind
B2
Abstract

Certain elements in the scan dump performed at system failure have become so large that a header field which indicates the size of the element is itself too small. Rather than increase the size of the field, affecting numerous other programs, the elements are broken down into smaller pieces by the write routine, which can recursively call itself.

Claims (49)

1. A computer program product in a computer readable medium containing a routine for writing a dump element, the routine comprising the steps of:

first instructions for checking a size of a current dump element against a threshold,

second instructions, if the size is greater than said threshold, for

formatting a first portion of the dump element which is the size of the threshold,

writing said first portion of the dump element,

setting the remaining portion of the dump element to be a new dump element and returning to the checking step;

third instructions, if the size is less than or equal to said threshold, for

formatting the dump element,

writing said the dump element, and

returning to a calling routine.

2. The computer program product of claim 1 , wherein said threshold is 64 kB.

3. The computer program product of claim 1 , wherein said routine performs recursive calls.

4. The computer program product of claim 1 , further comprising, whenever the dump element or portion of the dump element are formatted and written, formatting and writing a header for the dump element.

5. A method for writing a dump element, the method comprising the steps of:

receiving parameters for the dump element including a first starting address and a first size parameter;

if said first size parameter is not greater than a given threshold, then

formatting said element,

writing said element, then returning to a calling routine,

if said first size parameter is greater than or equal to said given threshold, then

setting a second starting address equal to said first starting address plus said threshold,

setting a second size parameter equal to said first size parameter minus said threshold,

setting said first size parameter to said threshold,

calling said method recursively, and

after said calling step, setting said first size parameter to said second size parameter, setting said first starting address to said second starting address, and going to said receiving step.

6. The method of claim 5 , wherein said threshold is 64 kB.

7. The method of claim 5 , further comprising formatting and writing a header for said dump element.

8. A computer system comprising:

a processor which is connected to receive input from at least a first device and to provide output through at least a second device, said processor being programmed to invoke, at the time of a system error, a routine which performs the following steps:

receiving parameters for the dump element including a first starting address and a first size parameter;

if said first size parameter is not greater than a given threshold, then

formatting said element and a header describing said element,

writing said element and said header, then returning to a calling routine,

else,

setting a second starting address equal to said first starting address plus said threshold,

setting a second size parameter equal to said first size parameter minus said threshold,

setting said first size parameter to said threshold,

calling said routine recursively, and

after said calling step, setting said first size parameter to said second size parameter, setting said first starting address to said second starting address, and going to said receiving step.

9. The computer system of claim 8 , wherein said threshold is 64 kB.

10. The computer system of claim 8 , wherein said routine writes data to nonvolatile memory.

11. The computer system of claim 8 , further comprising writing a header each time a dump element or a portion of a dump element is written.

12. A computer system comprising:

means to receive information regarding a scan dump element to be written;

means to check the size of the scan dump element; and

means to write a given block of data which is of a given size or less;

means to modify said information regarding the scan dump element;

wherein if the size of said scan dump element is not greater than said given size, said means to write is configured to write said scan dump element to nonvolatile memory, otherwise said means to write is configured to write a first portion of said scan dump element which is of said given size to nonvolatile memory, said means to modify is configured to modify said information to indicate the remaining portion of said element as a new element and to performs said wherein step again.

13. The computer system of claim 12 , wherein said given size is 64 kB.

14. The computer system of claim 13 , wherein said means to write is also configured to write a header for each portion of an element which is written.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 13, 2015
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: LINKEDIN CORPORATION
Reel/Frame 035201/0479 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 1, 2001
From: CHATTERJEE, ANIRBAN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 012359/0294 →