发布时间: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.........【阅读全文】
发布时间:2014-06-24 09:44:46
spin_lock_irqsave和spin_lock_irq????
我的疑问是,如果一直在自旋的话,?顺序拿锁的方式,保证一定按加锁的顺序,获得锁,那由于中断长时间关闭,会导致NMI么......【阅读全文】
发布时间: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.........【阅读全文】
发布时间:2014-05-27 20:31:27
debugfs -R 'icheck 111' /dev/sda1获取文件块对应的inode号debugfs -R 'ncheck 7' /dev/sda1获取inode号对应的文件路径......【阅读全文】