2025年6月14日

内存管理-49-alloc_pages-1-快速路径

摘要: 基于 msm-5.4 一、简介 本文只介绍内存分配快速路径。 二、数据结构 1. struct alloc_context struct alloc_context { struct zonelist *zonelist; nodemask_t *nodemask; struct zoneref * 阅读全文

posted @ 2025-06-14 22:16 Hello-World3 阅读(121) 评论(0) 推荐(0)

内存管理-48-内存相关trace汇总

摘要: 基于msm-5.4 一、kmem 中slub的trace trace方法: P=/sys/kernel/tracing; echo kmem > $P/set_event; > $P/trace; echo 1 > $P/tracing_on; cat $P/trace_pipe | tee tra 阅读全文

posted @ 2025-06-14 17:29 Hello-World3 阅读(63) 评论(0) 推荐(0)

导航