A system utilizing an erasure mode in an error correction code algorithm
is described that includes non-volatile memory storing a page
deallocation table. A memory controller stores and retrieves data from a
memory subsystem, and uses an error correction code algorithm to correct
data corruption in retrieved data. An error analysis algorithm executed
in a processor records instances of data corruption in the page
deallocation tables and deallocates memory regions associated with
multiple occurrences of data corruption at single bit locations. The
error analysis algorithm further causes the memory controller to apply an
erasure mode of the error correction code algorithm upon detection of a
repeated pattern of data corruption across different addresses of the
memory subsystem, and removes entries in the page deallocation table that
correspond to data corruption addressed by application of the erasure
mode.