01 2017 档案

摘要:带着问题学习dentry 1)文件删除时 dentry的结构是如何变化的?是直接设置无效的吗?如果此时正好有个访问是在要删除目录下的一个文件,这咋办呢? 2)内核document目录下级联式地使用 d_seq 去自顶向下地访问目录文件,到底是怎么实现的呢?顺序锁又是个什么东西? 3)dentry 应 阅读全文
posted @ 2017-01-25 01:45 honpey
摘要:1) struct usbdevfs_bulktransfer { unsigned int ep; unsigned int len; unsigned int timeout; /* in milliseconds */ void __user *data;};till now, I can't 阅读全文
posted @ 2017-01-07 17:07 honpey 阅读(204) 评论(0) 推荐(0)
摘要:1) the VPATH variable In make world, the VPATH variable guide you where to find the .c/.o file 2) the $^ $^ is a very important symbol in make, which 阅读全文
posted @ 2017-01-07 15:48 honpey 阅读(164) 评论(0) 推荐(0)