There is another oddity in the code structure, in
that if pt was ever NULL the code would misuse the
NULL before the test for non-NULL is made:

                pt = moea_pvo_to_pte(pvo, -1);
. . .
                old_pte = *pt;

                /*
                 * If the PVO is in the page table, update that pte as well.
                 */
                if (pt != NULL) {

(I'm not claiming that this explains the panic.)

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to