All of lore.kernel.org
 help / color / mirror / Atom feed
* linker script for non-4k page size
@ 2005-12-11  2:37 Fuxin Zhang
  2005-12-11  2:56 ` Fuxin Zhang
  0 siblings, 1 reply; 4+ messages in thread
From: Fuxin Zhang @ 2005-12-11  2:37 UTC (permalink / raw)
  To: Linux/MIPS Development

hi,
  I come across a problem when trying to use 16k page size for 2.6.14
linux/mips kernel: arch/mips/kernel/vmlinux.lds.S align some sections
with hardcoded ". = ALIGN(4096)".
  This will lead to problem if non-4k page size is used. For example,
if the .init section is put at a page 4k-aligned but not 16k-aligned,
free_initmem will free more spaces than it should do, and strange
problems will occur.
  Should we change to alignment according to CONFIG_PAGE_SIZE_XX? or
just set it to largest possible value(this may cause size increasement?)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-02 11:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-11  2:37 linker script for non-4k page size Fuxin Zhang
2005-12-11  2:56 ` Fuxin Zhang
2006-02-02 11:05   ` Thiemo Seufer
2005-12-11 11:46     ` Fuxin Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.