
Linux驱动
文章平均质量分 82
DanielShieh
这个作者很懒,什么都没留下…
展开
-
对于struct file_operations中ioctl消失的学习笔记
ioctl的消失,并不是要把ioctl清理出去,而是要逐步的清理大内核锁(BKL)。 这个让ioctl消失的过渡期长达5年,从2005年开始内核黑客就开始替换ioctl了。具体的原因在lwn.net中有一篇很好的文章:The new way of ioctl()。我将他翻译了一下:ioctl()的新方法(必看) 当然,顺便了解一下大内核锁也是很有必要的:转载好文:《大内核锁将何去何从》。要注意ioctl和unlocked_ioctl的定义有一点不同:unlocked_ioctl少了一个inod转载 2015-10-09 10:01:44 · 475 阅读 · 0 评论 -
MDIO Clause 45 和Clause 22
MDIO Clause 45 和Clause 22Contents MDIO History Theory of Operation Clause 22 Clause 45 References MDIO History Management Data Input/Output, or MDIO, is a 2-wire serial bus that is used to manag翻译 2016-03-24 10:52:00 · 10546 阅读 · 1 评论 -
Block-layer I/O polling
Block-layer I/O pollingNote:从lwn转载过来,原文地址:https://lwn.net/Articles/663879/By Jonathan CorbetNovember 11, 2015It has been said that the kernel's block I/O layer routinely steals ideas转载 2016-04-14 14:26:38 · 718 阅读 · 0 评论