tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: __read_mostly and __mp_friendly annotations
The only thing I'm not sure about, is if it's safe to use an alignment of 64 on
powerpc. The issue is mostly that the powerpc cpus vary wildly in cacheline
sizes, and whinyness about alignment. I suspect it's not a big deal, as the
kernel isn't generally as picky as the bootloader is about alignment issues.
IIRC I might have used 64 as the alignment on the bootloader too though, so it
might be just fine and my memory failing.
On 02-Jun-2010 Matt Fleming wrote:
> Can the port maintainrs for alpha, hp700, macppc, powerpc and vax please
> explicitly NAK these patches if they don't want me to commit them? Also,
> I just used 64-bytes as the size of an architecture's COHERENCY_UNIT. If
> any of the port masters have better values please shout.
---
Tim Rightnour <root%garbled.net@localhost>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
Home |
Main Index |
Thread Index |
Old Index