Re: cvs commit: src/sys/kern init_main.c kern_thread.c

[ Available lists | Index of cvs-all | Month of Mar 2007 | Week of 27 Mar 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Scott Long <scottl@samsco.org>
Date
27 Mar 2007 17:13:16
Subject
Re: cvs commit: src/sys/kern init_main.c kern_thread.c
Message-ID
46094DF2.4090501@samsco.org


[ Hide this part ]
John Baldwin wrote:
> jhb 2007-03-27 16:51:34 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/kern init_main.c kern_thread.c
> Log:
> Align 'struct thread' on 16 byte boundaries so that the lower 4 bits are
> always 0. Previously we aligned threads on a minimum of 8-byte boundaries.
>
> Note: This changes the uma zone to no longer cache align threads. We
> really want the uma zone to do align threads to MAX(16, cache line size)
> but there currently isn't a good way to express that to uma.
>

I'm sure there is a good reason for this. Can you explain?

Scott


Elapsed time: 0.153 seconds