Re: [RFC PATCH 00/19] unify init_task

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 11 December 2008, Geert Uytterhoeven wrote:
> Wondering, would it harm a lot having the aligned(THREAD_SIZE) everywhere?

No real harm, but some architectures don't require alignment of thread_info,
and they might waste a few kb because of the forced alignment.

The easier solution should be to force the alignment in
arch/{sparc,m68k}/vmlinux.lds.S, like the other architectures have it.

m68k-sun3 currently aligns thread_info to PAGE_SIZE, m68k aligns it
to 8192. AFAICT, you can simply replace both with THREAD_SIZE.

	Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux