文章分类 -  Linux Kernel

该文被密码保护。
posted @ 2023-04-08 09:07 dolinux 阅读(0) 评论(0) 推荐(0)
摘要:Circular Buffers :Author: David Howells <dhowells@redhat.com>:Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com>Linux provides a number of features 阅读全文
posted @ 2020-12-04 14:30 dolinux 阅读(329) 评论(0) 推荐(0)
摘要:转载:https://blog.csdn.net/wuu1010/article/details/103285396 1. 编译内核 进入kernel 源码目录 1.1. 修改gcc优化等级 diff --git a/Makefile b/Makefile index d4d36c619..1047 阅读全文
posted @ 2020-07-12 09:39 dolinux 阅读(2657) 评论(1) 推荐(0)
摘要:转载:https://blog.csdn.net/kickxxx/article/details/54631535 参考文档: https://www.kernel.org/doc/Documentation/devicetree/bindings/reserved-memory/reserved- 阅读全文
posted @ 2019-03-06 14:28 dolinux 阅读(2646) 评论(0) 推荐(0)
摘要:来源:Documentation/vm/highmem.txt HIGH MEMORY HANDLING By: Peter Zijlstra <a.p.zijlstra@chello.nl>Contents: (*) What is high memory? (*) Temporary virtu 阅读全文
posted @ 2018-01-19 23:58 dolinux 阅读(326) 评论(0) 推荐(0)
摘要:来源:Documentation/vm/active_mm.txt List: linux-kernelSubject: Re: active_mmFrom: Linus Torvalds <torvalds () transmeta ! com>Date: 1999-07-30 21:36:24C 阅读全文
posted @ 2018-01-19 23:41 dolinux 阅读(437) 评论(0) 推荐(0)
摘要:github:https://github.com/pacepi/tool/ 今天在网上看到有人在反汇编vmlinux时考虑到反汇编速度太慢,而且生成的文件有很大,所以写了一个只反汇编想要的函数的脚本 objdump-function.sh: #!/bin/bash vmlinux=$1 symbo 阅读全文
posted @ 2018-01-19 23:30 dolinux 阅读(5285) 评论(1) 推荐(1)
摘要:转载:http://blog.csdn.net/caianye/article/details/7576198 如今几乎每个人都听说过Linux中所谓的"零拷贝"特性,然而我经常碰到没有充分理解这个问题的人们。因此,我决定写一些文章略微深入的讲述这个问题,希望能将这个有用的特性解释清楚。在本文中,将 阅读全文
posted @ 2017-12-06 23:48 dolinux 阅读(8700) 评论(2) 推荐(0)
摘要:1、下载Linux内核 https://www.kernel.org/ https://www.kernel.org/pub/linux/kernel/ 2、如果要给Linux提交patch,可以下载如下的分支: git clone git://git.kernel.org/pub/scm/linu 阅读全文
posted @ 2017-08-10 11:44 dolinux 阅读(546) 评论(0) 推荐(0)
摘要:转载: http://www.cnblogs.com/3me-linux/p/6210394.html 通过位图提供的两种状态可以在非常节约内存的情况下表示开关变量,并且同类这类变量可以紧凑而高效的统一进行处理。有很多内核子系统都需要位图的支持,但是不同的情况又需要不同的位图个数,比如SMP系统上的 阅读全文
posted @ 2017-05-23 14:32 dolinux 阅读(418) 评论(0) 推荐(0)
摘要:转载: mount sd卡或usb时,提示FAT: codepage cp437 not found 其实这是内核配置问题,主要是文件系统不全,当然,USB驱动和Mass storage/SCSI disk/VFat支持要选上,如果还如果还不行,请参考如下: 1、提示 Unable to load 阅读全文
posted @ 2017-01-02 22:52 dolinux 阅读(1333) 评论(0) 推荐(0)
摘要:转载: http://blog.csdn.net/tommy_wxie/article/details/8194276 1. 序曲 在用户态,读写文件可以通过read和write这两个系统调用来完成(C库函数实际上是对系统调用的封装)。 但是,在内核态没有这样的系统调用,我们又该如何读写文件呢? 阅 阅读全文
posted @ 2016-12-23 23:32 dolinux 阅读(1696) 评论(0) 推荐(0)
摘要:轉載: http://www.kpbird.com/2012/11/in-depth-android-boot-sequence-process.html What happened when I press power on button in my Android device ? What i 阅读全文
posted @ 2016-08-30 17:23 dolinux
摘要:轉載: http://blog.csdn.net/hovan/article/details/42126039 下面是android简单的reboot流程视图 下面是源码分析 請參考: http://www.cnblogs.com/pengdonglin137/articles/5822097.ht 阅读全文
posted @ 2016-08-30 16:10 dolinux
摘要:轉載: http://blog.csdn.net/hovan/article/details/42495379 下面是简单的流程图,从Java到kernel层。 ShutdownThread.java文件 stop playing music,因为后面可能要playing shutdown musi 阅读全文
posted @ 2016-08-30 15:54 dolinux 阅读(1471) 评论(0) 推荐(0)
摘要:轉載: http://blog.sina.com.cn/s/blog_48aa915f0100b79d.html 阅读全文
posted @ 2016-08-30 12:06 dolinux
摘要:轉載: http://blog.csdn.net/wavemcu/article/details/8544333 一:Busyobx层的分析 这段时间,在忙到一个项目时,需要在busybox中用到reboot命令,开始在busybox中的shell中输入reboot命令,始终如下的信 息,然后就停止 阅读全文
posted @ 2016-08-29 19:42 dolinux 阅读(620) 评论(0) 推荐(0)
摘要:ARM32bit kernel布局 这是一张示意图(有些地址可能会有差异) 整个地址空间是4G,kernel被配置为1G,程序占3G。 任何程序都有TEXT(可执行代码),RW(数据段),ZI段(未初始化数据段),kernel也有,对应的是.text,.data,.bss。 而内核代码开始的地址是0 阅读全文
posted @ 2016-07-31 20:56 dolinux 阅读(1225) 评论(0) 推荐(0)
摘要:转载: http://blog.csdn.net/arethe/article/details/6079307 http://blog.chinaunix.net/uid-12461657-id-3487462.html might_sleep(): 指示当前函数可以睡眠。如果它所在的函数处于原子上 阅读全文
posted @ 2016-07-19 13:59 dolinux 阅读(317) 评论(0) 推荐(0)