上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 41 下一页
摘要: write-back/write-through/write-allocate/write-no-allocate CPU读Cache时 ●若hit,则CPU直接从Cache中读取数据即可。 ●若miss,有两种处理方式: >Read through,即直接从内存中读取数据; >Read alloc 阅读全文
posted @ 2021-12-29 10:08 aspirs 阅读(805) 评论(0) 推荐(0) 编辑
摘要: Understand the “Write Hit” and “Write Miss” in Symmetrix A Write Hit, also called Write Pending Write which happens when there is sufficient room in c 阅读全文
posted @ 2021-12-28 17:26 aspirs 阅读(67) 评论(0) 推荐(0) 编辑
摘要: VFS四大struct:file、dentry、inode、super_block dentry dentry有什么作用?dentry保存了目录/文件到inode的映射,在open一个文件时,如果路径上的某个目录或者最后的文件没有对应的dentry,则会为其建立dentry并插入dentry has 阅读全文
posted @ 2021-12-27 19:45 aspirs 阅读(514) 评论(0) 推荐(0) 编辑
摘要: open系统调用flow之do_last() 本文章来分析下open file系统调用最后一个主要的函数do_last() open系统调用来到do_last()时,主要看其nd参数,这个结构体里的path、last成员,此时的path表示open file完整路径最低一级路径,last表示open 阅读全文
posted @ 2021-12-26 21:57 aspirs 阅读(454) 评论(0) 推荐(0) 编辑
摘要: vfs open系统调用flow之link_path_walk() do_filp_open()里将pathname保存到nameidata里,pathname是open file的完整路径名,调用path_openat,此时是flags是带了LOOKUP_RCU flag的 struct file 阅读全文
posted @ 2021-12-26 18:52 aspirs 阅读(768) 评论(0) 推荐(0) 编辑
摘要: vfs open系统调用flow之具体文件系统lookup(ext4 fs lookup) ext4_lookup static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, unsigned int fla 阅读全文
posted @ 2021-12-26 18:10 aspirs 阅读(795) 评论(0) 推荐(0) 编辑
摘要: vfs open系统调用flow之overall 最近在看vfs open系统调用的flow,这个flow也是比较的复杂了,涉及到open file path的解析、四大struct(file、dentry、inode、super_block)。 而且open系统调用会建立很多关系,比如如果某个文件 阅读全文
posted @ 2021-12-25 12:04 aspirs 阅读(320) 评论(0) 推荐(0) 编辑
摘要: ARM GIC V3 gic_raise_softirq MPIDR_LEVEL_SHIFT(level) MPIDR_LEVEL_SHIFT(0) = (((1 << 0) >> 1) << 3) = 0 MPIDR_LEVEL_SHIFT(1) = (((1 << 1) >> 1) << 3) 阅读全文
posted @ 2021-12-23 19:53 aspirs 阅读(53) 评论(0) 推荐(0) 编辑
摘要: softirq raise/处理 调用raise_softirq_irqoff(HRTIMER_SOFTIRQ)触发一个softirq,这个函数会将local_softirq_pending_ref (int型)per cpu变量对应bit置1,如果当前不在interrupt context(sof 阅读全文
posted @ 2021-12-22 15:09 aspirs 阅读(471) 评论(0) 推荐(0) 编辑
摘要: hr timer 什么是hr timer(高精度定时器) https://blog.csdn.net/walkingman321/article/details/6151172 hr timer interrupt handler hrtimer interrupt handler is hrtim 阅读全文
posted @ 2021-12-21 16:47 aspirs 阅读(139) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 41 下一页