Chinaunix首页 | 论坛 | 博客
  • 博客访问: 44959
  • 博文数量: 17
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-27 20:25
文章分类

全部博文(17)

文章存档

2016年(2)

2015年(2)

2014年(13)

我的朋友

发布时间:2014-06-24 09:53:02

 基于2.6.32/** * clear_bit - Clears a bit in memory * @nr: Bit to clear * @addr: Address to start counting from * * clear_bit() is atomic and may not be reordered.  However, it does * not contain a memory barrier, so if it is used for locking purposes.........【阅读全文】

阅读(1721) | 评论(0) | 转发(0)

发布时间:2014-06-24 09:44:46

spin_lock_irqsave和spin_lock_irq????
我的疑问是,如果一直在自旋的话,?顺序拿锁的方式,保证一定按加锁的顺序,获得锁,那由于中断长时间关闭,会导致NMI么......【阅读全文】

阅读(972) | 评论(0) | 转发(0)

发布时间:2014-06-10 17:07:48

精确纳秒级调度,但是原理上会更多的消耗CPU/** * schedule_hrtimeout - sleep until timeout * @expires:timeout value (ktime_t) * @mode:timer mode, HRTIMER_MODE_ABS or HRTIMER_MODE_REL * * Make the current task sleep until the given expiry time has * elapsed. The r.........【阅读全文】

阅读(1846) | 评论(0) | 转发(0)

发布时间:2014-05-27 20:31:27

debugfs -R 'icheck 111' /dev/sda1获取文件块对应的inode号debugfs -R 'ncheck 7' /dev/sda1获取inode号对应的文件路径......【阅读全文】

阅读(729) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册