TempleOS - 5-Minute Random Code Walk-Thru #57 (PaJXMjCH4Mg)
TempleOS - 5-Minute Random Code Walk-Thru #57 (00:06:28)
October 19, 2014
Explains the kernel disk cache invalidation routine and walks through how cache blocks are scanned, detached, and returned to the least-recently-used pool for a partition. Details the cache structure as 512-byte blocks with queue and hash links, then describes lock-bit test-and-set synchronization and hash indexing by block-number modulo cache size.
Copyright © 2023 - 2026 Serhii Zasenko. All rights reserved