search for: page_list_null

Displaying 1 result from an estimated 1 matches for "page_list_null".

2012 Jun 06
1
page_list_splice() seems buggy (4.1.2)
Hello, It looks like page_list_splice(list, head) in include/xen/mm.h is buggy. (4.1.2) After calling it, head->next.prev incorrectly points to the old first page, when it really should point to null (i.e., PAGE_LIST_NULL). The ''head'' list becomes inconsistent and the system will crash later when you pop items out from the list. (usually fatal page fault) . To patch this bug I suggest to remove ''first->list.prev = page_to_pdx(head->next);'' line. This bug was discovered whi...