STM32 Flash: Sector, Page, Block

STM32 Flash: Sector, Page, Block

THANK YOUClick the blue text to follow me In STM32 Flash memory, sectors (Sector), pages (Page), and blocks (Block) are hierarchical concepts based on storage management needs, with the core goal of balancing “erase efficiency” and “storage flexibility”—the physical characteristics of Flash dictate thatit can only be erased in fixed minimum units (data becomes all … Read more

Understanding Linux Folios: A New Approach to Memory Management

Understanding Linux Folios: A New Approach to Memory Management

1. Background In early memory management modules, the concept of compound pages was introduced to describe Linux Compound Pages; however, there are design flaws inherent in compound pages themselves. In practical applications, the compound_head of compound pages presents issues in distinguishing between head pages and tail pages. Improper usage can easily lead to system exceptions. … Read more