会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
aspirs
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
39
下一页
2021年12月18日
sched misc
摘要: sched misc 查看sched信息命令 cat /proc/sched_debugcat /proc/schedstatsysctl:/proc/sys/kernel/sched_*sched_child_runs_first sched_rt_period_ussched_domain/ s
阅读全文
posted @ 2021-12-18 18:14 aspirs
阅读(246)
评论(0)
推荐(0)
2021年12月16日
ext4 fs
摘要: ext4 fs 关于ext4文件系统概述 https://www.cnblogs.com/eflypro/p/14075188.html
阅读全文
posted @ 2021-12-16 14:37 aspirs
阅读(98)
评论(0)
推荐(0)
2021年12月13日
read file page cache
摘要: read file page cache generic_file_buffered_read()里的index表示此次read文件的位置,在要读的某个文件里的位置,这个index是以page为单位的last_index表示此次read的结束位置,同样其单位是page 这两个变量的值分别是根据kio
阅读全文
posted @ 2021-12-13 19:26 aspirs
阅读(236)
评论(0)
推荐(0)
2021年12月8日
get_cpu_mask
摘要: get_cpu_mask /* cpu_bit_bitmap[0] is empty - so we can back into it */ #define MASK_DECLARE_1(x) [x+1][0] = (1UL << (x)) #define MASK_DECLARE_2(x) MAS
阅读全文
posted @ 2021-12-08 20:15 aspirs
阅读(310)
评论(0)
推荐(0)
2021年12月6日
struct arch_hw_breakpoint结构体
摘要: struct arch_hw_breakpoint结构体 watchpoint or breakpoint(type)、watchpoint监测的数据长度、监测的地址,这些信息都保存在arch_hw_breakpoint结构体里 struct arch_hw_breakpoint { u64 add
阅读全文
posted @ 2021-12-06 20:25 aspirs
阅读(289)
评论(0)
推荐(0)
cpumask
摘要: cpumask struct cpumask __cpu_possible_mask struct cpumask __cpu_possible_mask在一个4core的SOC上面低4bit分别表示cpu0-cpu3,表示一个系统上配置了多少个cpu(core),不管它的状态是active还是in
阅读全文
posted @ 2021-12-06 17:09 aspirs
阅读(474)
评论(0)
推荐(0)
2021年11月27日
linux memory barrier
摘要: linux memory barrier barrier() macro 2). 关于barrier()宏,jkl大师是这么说的: CPU越过内存屏障后,将刷新自己对存储器的缓冲状态。这条语句实际上不生成任何代码,但可使gcc在 barrier()之后刷新寄存器对变量的分配。 也就是说,barrie
阅读全文
posted @ 2021-11-27 13:10 aspirs
阅读(106)
评论(0)
推荐(0)
2021年11月19日
arm-linux-gnueabihf、aarch64-linux-gnu等ARM交叉编译GCC的区别
摘要: arm-linux-gnueabihf、aarch64-linux-gnu等ARM交叉编译GCC的区别 link: https://blog.csdn.net/Namcodream521/article/details/88379307
阅读全文
posted @ 2021-11-19 12:22 aspirs
阅读(621)
评论(0)
推荐(0)
2021年11月11日
ARM C函数调用堆栈入栈顺序
摘要: ARM C函数调用堆栈入栈顺序 堆栈指针是在函数一开头就确认了的,比如如下的xxx_func.cfi函数,它在函数的开头就将sp自减了0x170,这个0x170是xxx_fun.cfi函数局部变量total size + 需要入栈的reg total size 然后会设置x29(fp,栈底指针),这
阅读全文
posted @ 2021-11-11 22:21 aspirs
阅读(895)
评论(0)
推荐(0)
2021年11月10日
syscall SYSCALL_DEFINE*()实现
摘要: syscall SYSCALL_DEFINE*()实现 include/linux/syscalls.h #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__) #define SYSCALL_DEFIN
阅读全文
posted @ 2021-11-10 14:22 aspirs
阅读(585)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
39
下一页
公告