Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 12:25:05 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Stacey Son <sson@freebsd.org>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: [RFC] 16K page size for kernel thread stack (patch)
Message-ID:  <CAJ-VmonLGOGChUohF7E3VBXFSohtAWPcADTxVo=8XreYosNu7A@mail.gmail.com>
In-Reply-To: <FAC31FA0-26B0-468E-826F-1A17ECA6DA65@FreeBSD.org>
References:  <FAC31FA0-26B0-468E-826F-1A17ECA6DA65@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

On 18 February 2014 08:48, Stacey Son <sson@freebsd.org> wrote:
> Hi all:
>
> For mips64 the current size of 8K is not enough for the kernel thread stack.  For more information, see:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=177876
>
> The following patch increases the size of the kernel thread stack to 16K by using a single 16K sized page.  See the patch at:
>
> http://people.freebsd.org/~sson/mips/kstack/kstack_large_page.diff

Cool! Thanks for that.

I'm glad to see the supported pagesize enumeration code going into the
kernel. What do you think about committing just that bit to begin
with?

This looks like it touches shared code between mips32 and mips64. I'll
spin this up on a mips24k and mips74k (mips32r2) board soon to see if
it boots fine.

Thanks!



-adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonLGOGChUohF7E3VBXFSohtAWPcADTxVo=8XreYosNu7A>