0

Linux kernel 笔记 (53)——为什么“interrupt handler”不能被抢占?

Posted by nanxiao on 十一月 24, 2015 in Linux kernel 笔记 |

Interrupt handler会复用当前被中断task的kernel stack,它并不是一个真正的tas […]

标签:,

0

Linux kernel 笔记 (52)——使用“spinlock”的进程不能被抢占

Posted by nanxiao on 十一月 24, 2015 in Linux kernel 笔记 |

以下摘自这封邮件: A process cannot be preempted nor sleep while […]

标签:,

0

Linux kernel 笔记 (51)——”atomic context”

Posted by nanxiao on 十一月 24, 2015 in Linux kernel 笔记 |

以下摘自这篇文章: Kernel code generally runs in one of two fund […]

标签:,

0

Linux kernel 笔记 (50)——”context switch”和”mode switch”

Posted by nanxiao on 十一月 24, 2015 in Linux kernel 笔记 |

以下内容摘自stackoverflow上的这个帖子: At a high level, there are t […]

标签:,

0

Linux kernel 笔记 (49)——ERESTARTSYS和EINTR

Posted by nanxiao on 十一月 20, 2015 in Linux kernel 笔记 |

LDD3中提到驱动代码返回ERESTARTSYS和EINTR时如何选择: Note the check on […]

标签:, ,

0

Linux kernel 笔记 (48)——CONFIG_STRICT_DEVMEM和/dev/crash

Posted by nanxiao on 十一月 20, 2015 in Linux kernel 笔记 |

CONFIG_STRICT_DEVMEM配置项的作用是控制对/dev/mem的访问:一旦置成yes,则只能访问 […]

标签:,

0

Linux kernel 笔记 (47)——操作信号量的函数

Posted by nanxiao on 十一月 20, 2015 in Linux kernel 笔记 |

操作信号量的函数如下: #include <linux/semaphore.h> void dow […]

标签:, ,

0

Linux kernel 笔记 (46)——配置crashkernel参数

Posted by nanxiao on 十一月 19, 2015 in Linux kernel 笔记 |

crashkernel用来配置Kexec启动的第二个kernel(crash kernel),即用来捕获第一个 […]

标签:, , ,

0

Linux kernel 笔记 (45)——f_pos

Posted by nanxiao on 十一月 17, 2015 in Linux kernel 笔记 |

f_pos定义在file结构体(定义在<linux/fs.h>),表示文件当前的读写位置: str […]

标签:,

0

Linux kernel 笔记 (44)——使用字符设备

Posted by nanxiao on 十一月 13, 2015 in Linux kernel 笔记 |

Linux kernel 使用 cdev结构体代表字符设备(char device),定义在<linux […]

标签:,

Copyright © 2013-2017 我的站点 All rights reserved.
This site is using the Multi Child-Theme, v2.2, on top of
the Parent-Theme Desk Mess Mirrored, v2.5, from BuyNowShop.com