slub devlog 10-6
time start: 2026年10月6日 time end: 2026年10月8日 slub 慢速分配路径 4564 进入___slab_alloc函数后,就是慢速分配路径 /* * The slab lists for all objects. */ struct kmem_cache_node { spinlock_t list_lock; unsigned long ...
Read moreMarkdown to HTML
A tiny, fast Markdown blog for GitHub Pages.
Posts grouped in this category.
time start: 2026年10月6日 time end: 2026年10月8日 slub 慢速分配路径 4564 进入___slab_alloc函数后,就是慢速分配路径 /* * The slab lists for all objects. */ struct kmem_cache_node { spinlock_t list_lock; unsigned long ...
Read moreslub 快速分配路径 static __fastpath_inline void *slab_alloc_node(struct kmem_cache *s, gfp_t gfpflags, int node, const struct slab_alloc_context *ac) {} 在快速分配路径中,会使用 slab_pre_alloc_hook进行预检,通过在 m...
Read moreImplementing Minimal U Mode in FrostVista OS: Addressing Forgotten Issues and Overcoming Challenges
Read moreAnalysis of xv6 trampoline implementation, page table switching, and sfence.vma usage in U/S mode transitions.
Read moreImplementing UART TX interrupts with buffer management, LSR register handling, and debugging ebreak interrupt issues.
Read moreImplementing CLINT timer interrupts with RISC-V privilege mode handling, mscratch usage, and interrupt delegation challenges.
Read moreClarifying IP vs IE interrupt concepts in RISC-V, hardware configuration issues, and trap entry point implementation lessons.
Read moreAddressing chicken-and-egg problems in high-address mapping, PTE allocation misconceptions, and implementing ekalloc for boot-time memory management.
Read moreChallenges in implementing high-half kernel mapping, modifying kalloc for pre/post-paging allocation strategies.
Read moreUnderstanding VA2PA translation in sv39 three-level page tables and building minimal MVP with xv6 reference.
Read moreExploring RISC-V privilege architecture for Sv39 paging, PMP configuration, and trap delegation from M-mode to S-mode.
Read moreBrief note on implementing cyclic lists with sentinel nodes for memory allocator modification.
Read moreDevelopment log covering directory structure setup, printf encapsulation challenges, and LD linker issues in kernel development.
Read moreDetailed analysis of UART 16650 registers in xv6's uart.c implementation, covering IER, FCR, LCR configurations and their manual specifications.
Read more