![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux内核
文章平均质量分 77
linpeng1577
厚德载物,宁静致远
Linux内核爱好者
展开
-
Linux-0.11内核源码分析系列:内存管理up_wp_page()与do_wp_page()函数分析
/* * up_wp_page()函数用于解除物理页的共享状态,同时给发生写时复制的进程提供一页新的 * 物理页,新物理页是之前共享页的数据相同的拷贝。 * table_entry是共享物理页的地址的指针,即页表实际地址+表内偏移地址 */void un_wp_page(unsigned long * table_entry){ unsigned long old_page,new_原创 2014-11-26 08:35:04 · 2140 阅读 · 0 评论 -
Linux-0.11内核源码分析系列:进程调度sleep_on()函数分析
/* *Author : DavidLin *Date : 2014-12-10pm *Email : linpeng1577@163.com or linpeng1577@gmail.com *world : the city of SZ, in China *Ver : 000.000.001 *h原创 2014-12-11 00:05:54 · 3030 阅读 · 0 评论 -
Linux内核编程:防御性编程学习
/* *Kernel : Linux2.6.32.63 *File : \scripts\mod\modpost.h \scripts\mod\modpost.c *Author : DavidLin *Date : 2014-12-25pm *Email : linpeng1577@163.com o原创 2014-12-25 22:57:02 · 806 阅读 · 0 评论 -
Linux-0.11内核源码分析系列:内存管理get_free_page()函数分析
/* *Author : DavidLin *Date : 2014-11-11pm *Email : linpeng1577@163.com or linpeng1577@gmail.com *world : the city of SZ, in China *Ver : 000.000.001 *history : editor原创 2014-11-11 20:57:14 · 3896 阅读 · 0 评论 -
Linux-0.00内核 boot.s源代码分析
1 ! boot.s 2 BOOTSEG = 0x07c0 3 SYSSEG = 0x1000 4 SYSLEN = 17 5 entry start 6 start: 7 jmpi go,#BOOTSEG 8 go: mov ax,cs 9 mov ds,ax 10原创 2014-11-08 15:48:42 · 816 阅读 · 0 评论 -
Linux-0.11内核源码分析系列:关于线性地址,逻辑地址,物理地址的关系与区别
/* *Author : DavidLin *Date : 2014-11-22pm *Email : linpeng1577@163.com or linpeng1577@gmail.com *world : the city of SZ, in China *Ver : 000.000.001 *h原创 2014-11-24 20:03:20 · 3590 阅读 · 0 评论 -
Linux-0.11内核源码分析系列:内存管理try_to_share()与share_page()函数分析
/* *Author : DavidLin *Date : 2014-11-22pm *Email : linpeng1577@163.com or linpeng1577@gmail.com *world : the city of SZ, in China *Ver : 000.000.001 *history :原创 2014-11-24 20:00:00 · 1115 阅读 · 0 评论 -
Linux-0.11内核源码分析系列:内存管理get_empty_page()与put_page()函数分析
/* *Author : DavidLin *Date : 2014-11-22pm *Email : linpeng1577@163.com or linpeng1577@gmail.com *world : the city of SZ, in China *Ver : 000.000.001 *history :原创 2014-11-24 19:55:25 · 2504 阅读 · 0 评论 -
Linux-0.11内核源码分析系列:内存管理copy_page_tables()函数分析
/* *Author : DavidLin *Date : 2014-11-22pm *Email : linpeng1577@163.com or linpeng1577@gmail.com *world : the city of SZ, in China *Ver : 000.000.001 *history : editor原创 2014-11-24 11:13:03 · 1996 阅读 · 1 评论 -
Linux-0.11内核源码分析系列:内存管理free_page()与free_page_tables()函数分析
/* *Author : DavidLin *Date : 2014-11-22pm *Email : linpeng1577@163.com or linpeng1577@gmail.com *world : the city of SZ, in China *Ver : 000.000.001 *history : editor time原创 2014-11-24 09:07:19 · 1334 阅读 · 0 评论 -
vfork 挂掉的一个问题拓展实验一 (子进程使用return返回时候的栈帧)
#include #include #include int main(void) { int var; var = 88; if ((pid = vfork()) < 0) { printf("vfork error"); exit(-1); } else if (pid == 0) { /* 子进程 */原创 2014-11-22 15:00:45 · 634 阅读 · 0 评论 -
vfork 挂掉的一个问题拓展实验二 (子进程使用exit退出时候的栈帧)
#include #include #include int main(void) { int var; var = 88; if ((pid = vfork()) < 0) { printf("vfork error"); exit(-1); } else if (pid == 0) { /* 子进程 */ v原创 2014-11-22 15:03:13 · 637 阅读 · 0 评论 -
Linux内核编程:Linux2.6内核源码解析_进程遍历
/* *File : test.c *Author : DavidLin *Date : 2014-12-07pm *Email : linpeng1577@163.com or linpeng1577@gmail.com *world : the city of SZ, in China *Ver原创 2014-12-07 22:50:43 · 1619 阅读 · 0 评论