search for: mark_page_offline

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

2011 Apr 06
0
[PATCH] X86: Fix mce offline page bug
...; assigned and offlining; assigned and offling and broken - * * Following rules applied for page offline: * Once a page is broken, it can''t be assigned anymore * A page will be offlined only if it is free @@ -711,14 +707,9 @@ int offline_page(unsigned long mfn, int old_info = mark_page_offline(pg, broken); - if ( page_state_is(pg, free) ) + if ( page_state_is(pg, offlined) ) { - /* Free pages are reserve directly */ reserve_heap_page(pg); - *status = PG_OFFLINE_OFFLINED; - } - else if ( page_state_is(pg, offlined) ) - { *status = PG_O...