大佬教程收集整理的这篇文章主要介绍了Linux – 识别拥有物理内存中特定地址的进程,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我知道这可能需要编写一个内核模块来访问一些内核数据结构并将结果返回给用户 – 我需要知道它是如何完成的,无论它有多复杂.
author Arjan van de Ven <arjan@linux.intel.com> 2008-04-17 15:40:45 (GMT) committer Ingo Molnar <mingo@elte.hu> 2008-04-17 15:40:45 (GMT) commit 926e5392ba8a388ae32ca0d2714cc2c73945c609 (patch) tree 2718b50b8b66a3614f47d3246b080ee8511b299e parent 2596e0fae094be9354b29ddb17e6326a18012e8c (diff) x86: add code to dump the (kernel) page tables for visual inspection by kernel developers This patch adds code to the kernel to have an (optional) /proc/kernel_page_tables debug file that basically dumps the kernel pagetables; this allows us kernel developers to verify that nothing fishy is going on and that the varIoUs mappings are set up correctly. This was quite useful in finding varIoUs change_page_attr() bugs,and is very likely to be useful in the future as well. Signed-off-by:Arjan van de Ven <arjan@linux.intel.com> Cc: mingo@elte.hu Cc: tglx@tglx.de Cc: hpa@zytor.com Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
添加的功能由新的配置选项(X86_PTDUMP)启用.
以上是大佬教程为你收集整理的Linux – 识别拥有物理内存中特定地址的进程全部内容,希望文章能够帮你解决Linux – 识别拥有物理内存中特定地址的进程所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。