direct-io.hg
changeset 8417:7ef565a7cc86
Turn off debug output for NaTpage consumption when ifa==0.
In RHEL4, __strcpy_from_user seems to do this a lot (legally)
and the massive debug output may hide other errors.
In RHEL4, __strcpy_from_user seems to do this a lot (legally)
and the massive debug output may hide other errors.
author | djm@kirby.fc.hp.com |
---|---|
date | Thu Dec 15 17:17:06 2005 -0600 (2005-12-15) |
parents | e1ae4b162128 |
children | 9a72d15cc3a5 |
files | xen/arch/ia64/xen/process.c |
line diff
1.1 --- a/xen/arch/ia64/xen/process.c Thu Dec 15 16:17:04 2005 -0600 1.2 +++ b/xen/arch/ia64/xen/process.c Thu Dec 15 17:17:06 2005 -0600 1.3 @@ -743,6 +743,13 @@ ia64_handle_reflection (unsigned long if 1.4 printf("ia64_handle_reflection: handling regNaT fault"); 1.5 vector = IA64_NAT_CONSUMPTION_VECTOR; break; 1.6 } 1.7 +#if 1 1.8 + // pass null pointer dereferences through with no error 1.9 + // but retain debug output for non-zero ifa 1.10 + if (!ifa) { 1.11 + vector = IA64_NAT_CONSUMPTION_VECTOR; break; 1.12 + } 1.13 +#endif 1.14 printf("*** NaT fault... attempting to handle as privop\n"); 1.15 printf("isr=%p, ifa=%p,iip=%p,ipsr=%p\n",isr,ifa,regs->cr_iip,psr); 1.16 //regs->eml_unat = 0; FIXME: DO WE NEED THIS???