请教一个Linux2.4.0函数add_page_to_hash_queue理解
static void add_page_to_hash_queue(struct page * page, struct page **p){
struct page *next = *p;
*p = page;
page->next_hash = next;
page->pprev_hash = p;
if (next)
next->pprev_hash = &page->next_hash;
if (page->buffers)
PAGE_BUG(page);
atomic_inc(&page_cache_size);
}
请问为什么next_hash用的是指针,pprev_hash用的是指向指针的指针,上面的函数谁能具体解释前面几行吗?谢谢了
页:
[1]