Welcome! Log In Create A New Profile


crash when run python script and transparent huge pages enabed

Posted by zhuangzeqiang 
ubuntu system
kernel 4.4.0
crashed after system run a pressure test more than a day, the backtrace of crash log is:
BUG: unable to handle kernel paging request at 00000000176a59e0
IPtongue sticking out smileyageHeadHuge+0x15/0x30
[66215.173161] [<ffffffff81191a9e>] ? put_compound_page+0x8e/0x1b0
[66215.173535] [<ffffffff81191bdd>] put_page+0x1d/0x50
[66215.173830] [<ffffffff810f7827>] get_futex_key+0x117/0x290
[66215.174158] [<ffffffff810f7ee7>] futex_wait_setup+0x47/0x100
[66215.174521] [<ffffffff810f8099>] futex_wait+0xf9/0x280
[66215.174842] [<ffffffff810fa74f>] do_futex+0xff/0x510
[66215.175155] [<ffffffff810fabd2>] SyS_futex+0x72/0x150
[66215.175458] [<ffffffff8102b63d>] ? __switch_to+0x1cd/0x590
[66215.175802] [<ffffffff817fed76>] entry_SYSCALL_64_fastpath+0x16/0x75

the fault is at PageHeadHuge+0x15 which in the kernel code is mm/hugetbl.ctongue sticking out smileyageHeadHuge:

return get_compound_page_dtor(page_head) == free_huge_page

this line compared two function pointer ,

static inline compound_page_dtor *get_compound_page_dtor(struct page *page){
VM_BUG_ON_PAGE(page[1].compound_dtor >= NR_COMPOUND_DTORS, page);
return compound_page_dtors[page[1].compound_dtor];

is that page fault happened when access to page[1]?
That's a great post it helped me a lot.

Laptop Hire and Renting Laptops

Your Email:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 9 plus 13?