Chinaunix首页 | 论坛 | 博客
  • 博客访问: 8661
  • 博文数量: 5
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 60
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-28 20:12
个人简介

在 CU 的博客

文章分类

全部博文(5)

文章存档

2015年(5)

我的朋友

发布时间:2015-07-16 23:27:08

<!--?xml version="1.0" encoding="UTF-8" standalone="no"?--><div style="font-family:'Helvetica Neue';font-size:14px;">今天在 kmod 代码中看到了这一段:</div><div style="font-family:'Helvetica Neue';font-size:14px;">0237&nbsp;struct&nbsp;index_value&nbsp;{</div><div style="font-family:'Helveti.........【阅读全文】

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

发布时间:2015-06-30 21:17:37

TFO背景和原理的介绍......【阅读全文】

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

发布时间:2015-05-05 19:29:07

注: 内核版本4.04. vruntime 的计算时钟中断产生后会调用update_process_times()/*  * Called from the timer interrupt handler to charge one tick to the current * process. user_tick is 1 if the tick is user time, 0 for system. */ v.........【阅读全文】

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

发布时间:2015-05-04 22:33:33

本文主要来自内核文档中 /scheduler/sched-design-CFS.txt1. CFS的思想:可以从 CFS 的字面意思看出来, CFS stands for “Completely Fair Scheduler”. 把 CPU 的资源表示成 100%, CFS 希望做到每个进程使用了 1 / nr_running 的资源.2. CFS 的实现:为了实现这个理念, CFS 使用的主要数据是虚拟运行时 virtual runtim.........【阅读全文】

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

发布时间:2015-04-10 22:45:21

内核版本3.19, 架构 x86_64switch_to() 是在 arch/x86/include/asm/switch_to.h中, 内容如下:#define switch_to(prev, next, last) \do { \         /* \           * Conte.........【阅读全文】

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

登录 注册