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...

Benjamin Kaduk bjkfbsd at gmail.com
Thu Jul 16 18:02:52 UTC 2015


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?

-Ben


More information about the svn-src-all mailing list