Page isolation has not failed if the fin pfn extends beyond the end pfn and test_pages_isolated checks this correctly. Fix the tracepoint to report the same result as the actual check function.
Unified · Split
| @@ -29,7 +29,7 @@ TRACE_EVENT(test_pages_isolated, · 28 unmodified lines | |||
| 29 | 29 | ||
| 30 | TP_printk("start_pfn=0x%lx end_pfn=0x%lx fin_pfn=0x%lx ret=%s", | 30 | TP_printk("start_pfn=0x%lx end_pfn=0x%lx fin_pfn=0x%lx ret=%s", |
| 31 | __entry->start_pfn, __entry->end_pfn, __entry->fin_pfn, | 31 | __entry->start_pfn, __entry->end_pfn, __entry->fin_pfn, |
| 32 | __entry->end_pfn == __entry->fin_pfn ? "success" : "fail") | 32 | __entry->end_pfn <= __entry->fin_pfn ? "success" : "fail") |
| 33 | ); | 33 | ); |
| 34 | 34 | ||
| 35 | #endif /* _TRACE_PAGE_ISOLATION_H */ | 35 | #endif /* _TRACE_PAGE_ISOLATION_H */ |