call trace
1 | > vmalloc |
xfrm policy add/del/update 是通过netlink消息进行的。 其中xfrm_add_policy 用来添加 xfrm policy。
##summary
xfrm_get_policy first locate the xfrm policy by policy index(from user space) or policy selector.
xfrm_audit_policy_delete
to delete the plolicy, and call km_policy_notify to notify.xfrm policy del/get 使用的是同一个函数 xfrm_get_policy
.
##summary
When a ip addr is added, two unicat route entries are added to route table.
x86_64 Memory Map When Boot
1 | [martin@fc17 git_study]$ git log --oneline |
1 | [martin@fc17 git_study]$ git reset HEAD^ --hard |
1 | [martin@fc17 git_study]$ cat readme |
1 | [martin@fc17 git_study]$ git reflog |
有了commit ID, 一切就OK了。想干啥都行了 cherry-pick, checkout …
1 | [martin@fc17 git_study]$ git checkout -b try_recover 83e7d89 |
##summary
When nic supports hardware checksum, tcp only partially calculate the sum and fill the related info into skb three item:
ip_summed
csum_start
csum_offset
when nic driver sends the packet, it will fill these information to hardware’s correspond register.
原文地址:LFS中Binutils,GCC,Glibc三者之间的关系
[http://blog.chinaunix.net/uid-20431728-id-2752867.html]
##call trace
the ‘.show’ method in device_attribute will call the netstat_show,
some of the driver read the part of stat from NIC register,
but most count the stat by software in dev->stat
1 | > dev_get_stats |
##create repo
1 | 1087 git init —bare study.git <=== crate study.git |
##create a remote branch.
1 | 1103 git clone study.git/ tmp1 |
##create a mirror for the study.git
1 | git clone —bare study.git/ mirror.git |
##Add a new remote git resp.
1 | 1134 git remote add mirror /home/junwei/git_study/mirror.git/ <=== add a new remote and name it as mirror. |
git config push.default tracking 来让git push命令默认push当前的分支到对应的remote tracking分支上
1 | [junwei@junwei study]$ git config push.default tracking |
1 | [martin@fc16 example]$ git log --oneline |
##delete remote tags.
1 | [martin@fc16 example]$ git push origin :v1.a0 |