From: Fuxin Zhang <fxzhang@ict.ac.cn>
To: Linux/MIPS Development <linux-mips@linux-mips.org>
Subject: Re: linker script for non-4k page size
Date: Sun, 11 Dec 2005 10:56:38 +0800 [thread overview]
Message-ID: <439B9566.3020607@ict.ac.cn> (raw)
In-Reply-To: <439B9104.6000605@ict.ac.cn>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 963 bytes --]
BTW: except this problem, 2.6.14 with 16k page size runs well on my
machine. According to our experiences of 2.4 kernels, 16k page size
has a bit benefit over 4k page size(average 6% improvement for spec
cpu2000 int).
But to use 16k kernel, we have to convert binaries of debian/mips:
their sections are often not 16k aligned untill the latest testing branch.
Fuxin Zhang дµÀ:
> 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?)
>
>
>
>
>
next prev parent reply other threads:[~2006-02-02 2:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-11 2:37 linker script for non-4k page size Fuxin Zhang
2005-12-11 2:56 ` Fuxin Zhang [this message]
2006-02-02 11:05 ` Thiemo Seufer
2005-12-11 11:46 ` Fuxin Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=439B9566.3020607@ict.ac.cn \
--to=fxzhang@ict.ac.cn \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.