Memory quarantine
First Claim
1. A method for memory quarantine comprising:
- in response to a memory error, determining an extent associated with the memory error, wherein the extent defines an amount of memory comprising a plurality of chunks;
traversing forward from a beginning chunk of the plurality chunks;
determining that a first chunk of the plurality of chunks is corrupt based on the forward traversing;
traversing in reverse from a last chunk of the plurality of chunks;
determining that a second chunk of the plurality of chunks is corrupt based on the reverse traversing;
determining that the second chunk at which the reverse traversing has been performed is separate from the first chunk at which the forward traversing has been performed;
flagging a subset of the plurality of chunks as quarantined, wherein the subset begins with the first chunk and ends with the second chunk; and
releasing the subset of the plurality of chunks to prevent the subset from being reallocated after being released.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for memory quarantine comprises: in response to a memory error, determining an extent associated with the memory error, wherein the extent defines an amount of memory comprising a plurality of chunks; traversing, forward from a beginning chunk of the plurality chunks, the plurality of chunks until a first chunk is determined to be corrupt; traversing, in reverse from a last chunk of the plurality of chunks, the plurality of chunks until a second chunk is determine to be corrupt; flagging a subset of the plurality of chunks as quarantined, wherein the subset begins with the first chunk and ends with the second chunk, and wherein quarantine prevents the subset from being reallocated after being released.
-
Citations
20 Claims
-
1. A method for memory quarantine comprising:
-
in response to a memory error, determining an extent associated with the memory error, wherein the extent defines an amount of memory comprising a plurality of chunks; traversing forward from a beginning chunk of the plurality chunks; determining that a first chunk of the plurality of chunks is corrupt based on the forward traversing; traversing in reverse from a last chunk of the plurality of chunks; determining that a second chunk of the plurality of chunks is corrupt based on the reverse traversing; determining that the second chunk at which the reverse traversing has been performed is separate from the first chunk at which the forward traversing has been performed; flagging a subset of the plurality of chunks as quarantined, wherein the subset begins with the first chunk and ends with the second chunk; and releasing the subset of the plurality of chunks to prevent the subset from being reallocated after being released. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. One or more non-transitory computer-readable media storing instructions, wherein the instructions include:
-
instructions which, when executed by one or more hardware processors, cause in response to a memory error, determining an extent associated with the memory error, wherein the extent defines an amount of memory comprising a plurality of chunks; instructions which, when executed by one or more hardware processors, cause traversing forward from a beginning chunk of the plurality chunks; instructions which, when executed by one or more hardware processors, cause determining that a first chunk of the plurality of chunks is corrupt based on the forward traversing; instructions which, when executed by one or more hardware processors, cause traversing in reverse from a last chunk of the plurality of chunks; instructions which, when executed by one or more hardware processors, cause determining that a second chunk of the plurality of chunks is corrupt based on the reverse traversing; instructions which, when executed by one or more hardware processors, cause determining that the second chunk at which the reverse traversing has been performed is separate from the first chunk at which the forward traversing has been performed; instructions which, when executed by one or more hardware processors, cause flagging a subset of the plurality of chunks as quarantined, wherein the subset begins with the first chunk and ends with the second chunk; and instructions which, when executed by one or more hardware processors, cause releasing the subset of the plurality of chunks to prevent the subset from being reallocated after being released. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification