Messages in this thread | | | Date | Wed, 1 Oct 2003 17:24:02 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] Mutilated form of Andi Kleen's AMD prefetch errata patch |
| |
> Why is it not sufficient to do something like: > > if (!(error_code & 4) && is_prefetch(...)) > return; > > near the start of do_page_fault()?
That could fault recursively when the __get_user in is_prefetch faults. You would have to check the exception table first too.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |