svn commit: r285627 - in head/sys: arm/arm arm/at91 arm/cavium/cns11xx arm/samsung/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa arm64/arm64 ddb i386/i386 powerpc/boo...

Warner Losh imp at bsdimp.com
Fri Jul 17 04:14:36 UTC 2015


> On Jul 16, 2015, at 12:02 PM, Benjamin Kaduk <bjkfbsd at gmail.com> wrote:
> 
> On Thu, Jul 16, 2015 at 6:46 AM, Zbigniew Bodek <zbb at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150716/e572cf01/attachment.bin>


More information about the svn-src-head mailing list