回收内存的一条函数路径
__alloc_pages_nodemask
-> get_page_from_freelist
->zone_reclaim
->__zone_reclaim
->shrink_slab
-> lowmem_shrink
oom的过程
do_page_fault
->handle_mm_fault
->handle_pte_fault
__alloc_pages_nodemask
->__alloc_pages_slowpath
->__alloc_pages_may_oom
->out_of_memory
->oom_kill_process
->dump_header
->dump_stack
内核真好玩,呵呵!!!
阅读(2821) | 评论(0) | 转发(0) |