摘要 |
Bad block management is implemented for the main partition 310 in a memory having a main 310 and a secondary partition 320. The secondary partition provides spare blocks to replace bad blocks in the main partition, but can also be used for other purposes. In particular, the secondary partition can be used as a swap partition for implementing paging of the main partition, especially writable demand paging. As bad blocks are replaced, the size of the secondary partition decreases. The secondary partition may be resized dynamically or when the computing device in which the memory is provided is next restarted. Paging of the main partition may be disabled once the number of blocks remaining in the secondary partition is less than a threshold. This invention negates the need to provide redundant blocks (240 fig 2) although a dedicated pool of spare blocks may be provided to facilitate temporary replacement of bad blocks in the main partition during use when the secondary partition is to be resized upon restarting the computing device. |