- 博客(9)
- 资源 (8)
- 收藏
- 关注
原创 编译内核时为某个文件夹/文件设定编译选项/DEBUG
编译内核时为某个文件夹设定编译选项:所有的 EXTRA_ 变量(EXTRA_CFLAGS, EXTRA_AFLAGS, EXTRA_LDFLAGS, EXTRA_ARFLAGS)只在所定义的Kbuild Makefile中起作用。EXTRA_ 变量可以在Kbuild Makefile中所有命令中使用。$(EXTRA_CFLAGS) 是用 $(CC) 编译C源文件时的选项。例子:
2011-11-28 17:21:03 1981
转载 linux内核的文件预读
转自http://www.360doc.com/content/09/1023/16/313373_7725308.shtmlLinux文件预读算法磁盘I/O性能的发展远远滞后于CPU和内存,因而成为现代计算机系统的一个主要瓶颈。预读可以有效的减少磁盘的寻道次数和应用程序的I/O等待时间,是改进磁盘读I/O性能的重要优化手段之一。本文作者是中国科学技术大学自动化系的博士生,他在1998年开
2011-11-26 16:01:46 762
转载 Linux Filesystem in Userspace(FUSE)
转贴两篇关于fuse的文章,后面再研究 Linux Filesystem in Userspace(FUSE) http://www.360doc.com/content/09/1008/23/175938_6995356.shtml1. FUSE(Filesystem in Userspace)简介1.1. 概述FUSE(用户空间文件系统)作为类UNIX系统平台上可加载的内核
2011-11-26 16:00:28 6089
转载 linux 清理缓存
http://www.cnblogs.com/stable/archive/2011/02/15/1955477.html 通过修改proc系统的drop_caches清理free的cache$echo 3 > /proc/sys/vm/drop_cachesdrop_caches的详细文档如下:Writing to this will cause the kernel to
2011-11-26 15:09:00 1567
转载 bonnie++、dbench、iozone工具
转:记测试工具iozone,iometer,bonnie++http://blog.csdn.net/zhangxinrun/article/details/5648174记就自己接触到的测试工具,主要有以下几种:iozone,iometer,bonnie++iozone主页地址:http://www.iozone.org 通过如下操作测试文件IO性能:read, writ
2011-11-25 19:51:08 8740
转载 try_module_get和module_put
转自:http://apps.hi.baidu.com/share/detail/44235513模块在被使用时,是不允许被卸载的。 2.4内核中,模块自身通过 MOD_INC_USE_COUNT, MOD_DEC_USE_COUNT宏来管理自己被使用的计数。 2.6内核提供了更健壮、灵活的模块计数管理接口 try_module_get(&module), module_put
2011-11-22 15:22:16 3586
转载 Linux内核里的DebugFS
转自:http://www.cnblogs.com/wwang/archive/2011/01/17/1937609.htmlDebugFS,顾名思义,是一种用于内核调试的虚拟文件系统,内核开发者通过debugfs和用户空间交换数据。类似的虚拟文件系统还有procfs和sysfs等,这几种虚拟文件系统都并不实际存储在硬盘上,而是Linux内核运行起来后才建立起来。通常情况下,最常用的内
2011-11-21 13:42:37 782
转载 DMA_ZONE、dma_mask、coherent_dma_mask和dma bounce相关问题的澄清
转自http://21cnbao.blog.51cto.com/109393/521160针对arm平台而讲,但对各平台都有参考意义。 本文针对ARM体系结构,参考的内核版本是2.6.32。1. 为什么存在DMA ZONE?原因是某些硬件的DMA引擎不能访问到所有的内存区域,因此,加上一个DMA ZONE,当使用GFP_DMA方式申请内存时,获得的内存限制在DMA_ZO
2011-11-09 09:36:33 1450
原创 linux打印中时间信息
使能 CONFIG_PRINTK_TIME之后,内核每行打印前面有时间信息,本文探讨一下相关代码以及时间信息的含义。 | CONFIG_PRINTK_TIME: | | Selecting this option causes timing information to be | included in printk output. This allows you to
2011-11-04 18:19:40 10422
ARM® Architecture Reference Manual ARMv7-A and ARMv7-R edition
2018-06-15
Bare-metal Boot Code for ARMv8-A Processors
2018-05-29
ARM Generic Interrupt Controller Architecture Specification (3.0 & 4.0)
2018-05-04
Brief Introduction to MIPS32 Shadow Registers
2011-10-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人