> On Jul 16, 2015, at 12:02 PM, Benjamin Kaduk <bjkf...@gmail.com> wrote: > > On Thu, Jul 16, 2015 at 6:46 AM, Zbigniew Bodek <z...@freebsd.org> wrote: > Author: zbb > Date: Thu Jul 16 10:46:52 2015 > New Revision: 285627 > URL: https://svnweb.freebsd.org/changeset/base/285627 > > Log: > Fix KSTACK_PAGES issue when the default value was changed in KERNCONF > > If KSTACK_PAGES was changed to anything alse than the default, > the value from param.h was taken instead in some places and > the value from KENRCONF in some others. This resulted in > inconsistency which caused corruption in SMP envorinment. > > Ensure all places where KSTACK_PAGES are used the opt_kstack_pages.h > is included. > > This leads to the question: why is KSTACK_PAGES defined in param.h at all, if > the value will be incorrect for custom kernel configurations?
It is a work around for the Cavium arm64 kernel. It may or may not be needed in the fullness of time, but for now it’s needed to make progress on the port. Warner
signature.asc
Description: Message signed with OpenPGP using GPGMail