01 2017 档案

《深入理解Linux内核》阅读笔记 --- Chapter 3 Processes
摘要:Process Switching 1、The set of data that must be loaded into the registers before the process resumes its execution on the CPU is called the hardware 阅读全文

posted @ 2017-01-19 14:03 姚灯灯! 阅读(193) 评论(0) 推荐(0)

《深入理解Linux内核》阅读笔记 --- Chapter 2 Memory Addressing
摘要:1、logical address = segment identifier (16bits) + offset (32bits) segment selector其实就是GDT或者LDT的索引,其中的TI字段用来确定是选择GDT还是IDT 2、segment identifier is calle 阅读全文

posted @ 2017-01-19 13:34 姚灯灯! 阅读(306) 评论(0) 推荐(0)

kubernetes 基本命令
摘要:1、最简单的启动一个pod的方式: kubectl run mybusybox --image=busybox 2、启动多个pod的方式: kubectl run mybusybox --image=busybox --replicas=5 3、删除创建的pod: kubectl delete de 阅读全文

posted @ 2017-01-13 19:31 姚灯灯! 阅读(2397) 评论(0) 推荐(0)

git tips
摘要:修改已提交的commit 假设我们需要修改倒数第三个commit的内容 1、首先调用`git rebase` 此时会产生如下的提交列表 当需要更新相应的commit时,就将commit序列号之前的pick改为edit(可一次将多个pick修改为edit) 退出编辑器,即处于该commit中 2、在对 阅读全文

posted @ 2017-01-10 16:50 姚灯灯! 阅读(206) 评论(0) 推荐(0)

CNI插件源码示例,对于github.com/rajatchopra/ocicni库的分析
摘要:CNI插件初始化 // ocicni.go 1、func InitCNI(pluginDir string) (CNIPlugin, error) (1)、先调用plugin := probeNetworkingPluginsWithVendorCNIDirPrefix(pluginDir, "") 阅读全文

posted @ 2017-01-05 14:37 姚灯灯! 阅读(836) 评论(0) 推荐(0)

导航