On Thursday 24 January 2008 08:02:11 Jeremy Fitzhardinge wrote: > Andi Kleen wrote: > > Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: > >> /* > >> + * Handle a spurious fault caused by a stale TLB entry. This allows > > > > vmalloc_fault already has nearly the same logic. You should look > > at sharing the code. > > Hm, I see what you mean, but its hard to see how to share much code > there. It's a case of "two lines common, one line different" repeated 4 > times or so.
The core common logic is checking if the fault agrees with the page tables. If not do different things. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/