Re: kern/161887: [vm] [panic] panic at vm_page_wire with FreeBSD
The following reply was made to PR kern/161887; it has been noted by GNATS.
From: Andriy Gapon <avg@FreeBSD.org>
To: bug-followup@FreeBSD.org, bsdboot@gmail.com
Cc:
Subject: Re: kern/161887: [vm] [panic] panic at vm_page_wire with FreeBSD
9.0 Beta 3 [regression]
Date: Sun, 30 Oct 2011 12:31:25 +0200
Do you build your test module as a part of a kernel+modules build or do you
build it in isolation? If the latter, then this could be a known obscure problem.
A standalone module build doesn't get some important definitions from kernel
config (e.g. via opt_global.h) and can be in a serious disagreement with the
kernel. In particular, if a kernel is built with SMP option, but a module build
doesn't have SMP defined, then they will have different definitions of
PA_LOCK_COUNT and thus would work on different actual locks when manipulating
the same page.
--
Andriy Gapon
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 1 之 5 篇):