读书摘录
lizhiqiang5846
这个作者很懒,什么都没留下…
展开
-
A handler can’t transfer data to or from user space
A handler can’t transfer data to or from user space, because it doesn’t execute in the context of a process. Handlers also cannot do anything that would sleep, such as calling wait_event, allocating翻译 2013-11-20 10:20:59 · 765 阅读 · 0 评论 -
Linux prefers paging to segmentation info coreutils 'ls invocation'
One reason for giving programmers control over their memory map is to allow two or more processes to share the same memory. If programmers can name regions of their memory, it may be possible for on翻译 2014-01-24 14:54:06 · 618 阅读 · 0 评论 -
The kernel thread khubd, from 《Essential Linux Device Driver》
A hub driver for the root hub (and physical hubs) and a helper kernel thread khubd that monitors all ports connected to the hub. Detecting port status changes and configuring hotplugged devices is ti原创 2012-03-17 23:05:08 · 1224 阅读 · 0 评论 -
USB: Endpoint
bNumEndpoints 就是接口描述符中的成员,表示这个接口有多少个端点,不过这 其中不包括0 号端点,0 号端点是任何一个usb 设备都必须是提供的,这个端点专门用于进行控制传输,即它 是一个控制端点.正因为如此,所以即使一个设备没有进行任何设置,usb 主机也可以开始跟它进行一些通信, 因为即使不知道其它的端点,但至少知道它一定有一个0号端点,或者说一个控制端点.转载 2012-03-19 23:40:21 · 1139 阅读 · 0 评论 -
Softirqs , tasklets, reentrant.
Softirqs are statically allocated (i.e., defined at compile time), while tasklets can also be allocated and initialized at runtime (for instance, when loading a kernel module). Softirqs can run翻译 2013-11-07 18:09:15 · 644 阅读 · 0 评论 -
The terminate( ) function
When abort( ) is called, no calls to normal program termination functions occur, which means that destructors for global and static objects do not execute. The terminate( ) function also executes转载 2014-07-07 22:50:33 · 479 阅读 · 0 评论