From: Jeffrey Merkey on
http://merkeydebugger.googlecode.com/files/mdb-2.6.34-06-17-2010.patch

FIXES

Add

mov cr3,%eax
mov %eax,cr3

to main callback from notify_die() function. Linux in various
functions will alter page tables in batches without issuing a TLB
flush command. Daemonize() is one such function where the .mm is
deleted and no TLB flush in executed. Such cases
require that the debugger always reload CR3 on breakpoint exceptions
to avoid double and triple faulting, and in this case
will hand the system in the page fault handler if CR3 is not reloaded
every exception to make certain the processor has a
valid view of the TLB and page tables.

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