Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mem_watcher:添加跟踪虚拟内存管理的功能 #874

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

syxl-time
Copy link
Contributor

1.挂载vmacache_find,这个函数在VMA缓存中查找。挂载find_vma,跟踪查找虚拟内存区域的操作。VMACache Hit有助于评估虚拟内存缓存的命中率;Duration是查找操作的持续时间,可以用来评估内存管理的效率;RB Subtree Last是红黑树中的最后节点值,它为0表示节点没有子树或子树为空。
2.挂载insert_vm_struct,这个函数插入虚拟内存结构体。Duration是插入操作的持续时间,用来评估内存管理系统在处理插入操作时的性能;List Time、 RB Time、Interval Tree Time 分别表示插入操作在链表、红黑树、基数树中所需时间。
git图

Copy link
Member

@helight helight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@helight helight merged commit 7eded63 into linuxkerneltravel:develop Jul 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants