上一页 1 2 3 4 5 6 7 ··· 78 下一页

2026年7月17日

内存管理-72-THP-1-理论

摘要: 一、transhuge.rst 翻译 注: 翻译自 /kernel-6.1.114/Documentation/admin-guide/mm/transhuge.rst 透明大页(THP)支持 1. 目标 面向大内存工作集的性能敏感型应用,过去通常运行在 libhugetlbfs 之上,进而使用 h 阅读全文

posted @ 2026-07-17 21:03 Hello-World3 阅读(11) 评论(0) 推荐(0)

2026年7月11日

存储-8-文件系统-1-常用文件系统汇总简介

摘要: 这里列出 cat /proc/mounts 常见的文件系统类型。 一、盘上文件系统 这里接受常见的会格式化到块设备的文件系统。 1. EROFS 全名:Enhanced Read-Only File System特点:只读、支持压缩(常见 LZ4),Android 常用于 system、vendor 阅读全文

posted @ 2026-07-11 16:54 Hello-World3 阅读(21) 评论(0) 推荐(0)

2026年7月10日

Linux内核scripts脚本-2-pl脚本汇总

摘要: 基于 linux-6.1 + A16 一、简介 这些 .pl 脚本是用 Perl 编写的,准确说是 Perl 5。语法上整体风格有点像 C (花括号、分号、运算符、for/if 结构),文本处理思路很像 awk 和 sed(正则特别强,行处理很方便), 写脚本的使用体验又有点像 shell 和 Py 阅读全文

posted @ 2026-07-10 16:03 Hello-World3 阅读(20) 评论(0) 推荐(0)

Linux内核scripts脚本-1-所有脚本列表

摘要: 基于 kernel-6.1 一、所有脚本 android/kernel_platform/kernel/scripts$ tree . ├── adjust_autoksyms.sh ├── asn1_compiler.c ├── as-version.sh ├── atomic │ ├── ato 阅读全文

posted @ 2026-07-10 15:52 Hello-World3 阅读(10) 评论(0) 推荐(0)

2026年7月9日

内存管理-70-page_pinner-1-理论

摘要: 基于 kernel-6.1 一、简介 CONFIG_PAGE_PINNER:回答“这页为什么迁不走,可能被谁长期持有”。目标是排查"页迁移失败/alloc_contig 失败时,谁在持有该页"。配置项定义在 Kconfig.debug,实现在 page_pinner.c。 config PAGE_P 阅读全文

posted @ 2026-07-09 16:32 Hello-World3 阅读(8) 评论(0) 推荐(0)

内存管理-69-page_owner-1-理论

摘要: 相关BK:内存管理-29-page_exit功能 一、理论介绍 1. page_owner 的作用 基于kernel-6.1 CONFIG_PAGE_OWNER:回答“这页是谁分配出来的”。定义在 Kconfig.debug 中,实现文件 page_owner.c。 config PAGE_OWNE 阅读全文

posted @ 2026-07-09 16:31 Hello-World3 阅读(12) 评论(0) 推荐(0)

2026年7月1日

文件系统-3-IO测试工具-3-ioblame-1-简介

摘要: 一、ioblame 源码中 README 翻译 注: 翻译自 android/system/extras/ioblame/REAME 1. 这是什么? ioblame 是一个 I/O 分析工具(I/O profiler)。它会详细列出正在运行的各个 PID 正在对哪些文件做 I/O(并给出每个文件上 阅读全文

posted @ 2026-07-01 11:17 Hello-World3 阅读(8) 评论(0) 推荐(0)

2026年6月30日

Netlink-1-使用Demo

摘要: 一、通过libnl读取taskstats 1. 实现代码 /* * Minimal pure-C demo for reading taskstats via libnl. * * Usage: * taskstats_demo <pid> */ #include <errno.h> #includ 阅读全文

posted @ 2026-06-30 13:46 Hello-World3 阅读(11) 评论(0) 推荐(0)

2026年6月26日

存储-5-mount挂载

摘要: 一、mount参数简介 # mount | grep data /dev/block/dm-5 on /data type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xa 阅读全文

posted @ 2026-06-26 21:48 Hello-World3 阅读(29) 评论(0) 推荐(0)

存储-3-IO调度-2-相关文档(bfq-iosched.rst/blkio-controller.rst)

摘要: 一、bfq-iosched.rst 翻译 BFQ(Budget Fair Queueing) BFQ 是一个按比例共享(proportional-share)的 I/O 调度器,并带有额外的低时延能力。除了支持 cgroups(blkio 或 io 控制器)之外,BFQ 的主要特性包括: - BFQ 阅读全文

posted @ 2026-06-26 18:00 Hello-World3 阅读(18) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 78 下一页

导航