Re: [git pull] x86 page fault checker

From: Steven Rostedt
Date: Fri Feb 20 2009 - 11:00:55 EST



On Fri, 20 Feb 2009, Ingo Molnar wrote:
> > - return spurious_fault_check(error_code, pte);
> > + ret = spurious_fault_check(error_code, pte);
> > + if (!ret)
> > + return 0;
> > +
> > + /*
> > + * Make sure we have permissions in PMD
> > + * If not, then there's a bug in the page tables.
> > + */
> > + ret = spurious_fault_check(error_code, (pte_t *) pmd);
> > + WARN_ON(!ret);
> > + return ret;
> > }
>
> i guess we could do this - but i'd rather have it as a
> WARN_ONCE(), with some text - so that if it ever triggers it's
> one surgical message.

OK, I'll make this update and rebase it.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/