From: Paul Mackerras <paulus@samba.org>
To: Yuri Tikhonov <yur@emcraft.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] ppc44x: support for 256K PAGE_SIZE
Date: Wed, 24 Oct 2007 09:15:20 +1000 [thread overview]
Message-ID: <18206.32904.672941.222334@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <200710222012.20316.yur@emcraft.com>
Yuri Tikhonov writes:
> No it isn't the violation.
>
> As stated in "System V ABI. PowerPC processor supplement"
> (on which the "Linux Standard Base Core Specification for PPC32"
> is based): " ... Virtual addresses and file offsets for the PowerPC processor family
> segments are congruent modulo 64 Kbytes (0x10000) or larger powers of 2...".
I'm afraid it is a violation.
In the "Operating System Interface" chapter, "Page Size" section (page
3-23 in the copy I have), it says: "Currently, the only valid hardware
page size for the PowerPC Architecture is 4096 bytes (4 Kbytes), but
this ABI allows the underlying operating system to cluster pages into
logical power-of-two page sizes up to 65536 bytes (64 Kbytes)."
The section you quoted says that ELF binaries may use a larger
congruency, not that the OS may use a larger page size. In fact the
largest page size that the OS may use is the *smallest* congruency
that ELF binaries may use.
Of course, nothing says that you can't use kernels and binaries that
are not SVR4-compliant on your own machines. But not being
SVR4-compliant certainly limits their general usefulness.
Paul.
next prev parent reply other threads:[~2007-10-23 23:15 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 7:08 [PATCH] ppc44x: support for 256K PAGE_SIZE Yuri Tikhonov
2007-10-18 10:44 ` Josh Boyer
2007-10-18 11:45 ` Benjamin Herrenschmidt
2007-10-18 12:01 ` Josh Boyer
2007-10-18 12:12 ` Benjamin Herrenschmidt
2007-10-18 13:25 ` Yuri Tikhonov
2007-10-23 14:00 ` Segher Boessenkool
2007-10-18 13:18 ` Yuri Tikhonov
2007-10-18 13:25 ` Josh Boyer
2007-10-18 13:30 ` Yuri Tikhonov
2007-10-18 14:41 ` Josh Boyer
2007-10-18 23:21 ` Paul Mackerras
2007-10-19 13:24 ` Kumar Gala
2007-10-22 16:12 ` Yuri Tikhonov
2007-10-23 13:59 ` Segher Boessenkool
2007-10-23 23:08 ` Paul Mackerras
2007-10-23 23:15 ` Paul Mackerras [this message]
2007-10-19 15:37 ` Yuri Tikhonov
2007-10-19 15:48 ` Kumar Gala
2007-10-19 16:03 ` Yuri Tikhonov
2007-10-19 16:36 ` Josh Boyer
2007-10-19 19:04 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2007-10-18 11:00 Yuri Tikhonov
2007-10-18 11:47 ` Benjamin Herrenschmidt
2007-10-18 13:20 ` Yuri Tikhonov
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=18206.32904.672941.222334@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=yur@emcraft.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).