So __pollwait() calls __get_free_page(), system_running is 0 soI didn't notice that the reboot code resets system_running to 0, sorry.
get_boot_pages is called. Since get_boot_pages is labeled __init, badness
happens.
How about checking against mem_init_done instead of system_running? Itmem_init_done is ppc specific. Is there an equivalent to system_running that is not set to 0 during reboot?
helps against the oops, but there might be some good reason not to do
it.