![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
paging
htjacky
这个作者很懒,什么都没留下…
展开
-
Linux内核中的内存都不分页(unpagable)
为何Linux内核中的内存都不分页呢? 更确切的理解这个概念应该是说内核中的内存都是不可被交换到二级存储中去的。Linux内核本身也是一个进程,它和其他进程有一个很本质的区别就在于它可以直接操作硬件,进行中断处理,管理内存等等,正因为如此,就造成了它不能进行分页的重要原因: 1. 试想一下,中断处理例程的函数指针都在内核内存中,假如这部分内存被交换到二级存储当中,每次发生中断,那么进行中断处理原创 2013-10-25 17:54:34 · 1118 阅读 · 0 评论 -
Jos-lab2 (Exercise 1)
.In the file kern/pmap.c,you must implement code for the following functions (probablyin the order given). boot_alloc() 要点:a. ROUNDUP()是用来向上对齐的。 b. 此时memory的上限在i386_detect_memory()里根据读取原创 2014-01-04 07:53:33 · 844 阅读 · 0 评论 -
Jos-lab2 (Challenges)
Challenge!Extend the JOS kernel monitor with commands to: Display in a useful and easy-to-read formatall of the physical page mappings (or lack thereof)that apply to a particular range of virtual/l原创 2014-01-09 15:31:11 · 1780 阅读 · 0 评论