From: Ralf Baechle <ralf@oss.sgi.com>
To: Carsten Langgaard <carstenl@mips.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: LTP testing (shmat01)
Date: Thu, 4 Jul 2002 21:56:14 +0200 [thread overview]
Message-ID: <20020704215614.B29422@dea.linux-mips.net> (raw)
In-Reply-To: <3D249181.D9147AAE@mips.com>; from carstenl@mips.com on Thu, Jul 04, 2002 at 08:18:41PM +0200
On Thu, Jul 04, 2002 at 08:18:41PM +0200, Carsten Langgaard wrote:
> > any power of 2 > PAGE_SIZE.
>
> Ok, I see, but is there any reason for us to be different than the
> rest of the world ?
Imho the your question already wrong :-) Any assumption about the
constant's value in a piece of code is wrong.
The reason why the constant's value was choosen are virtually indexed
caches. The value allows attaching of shared memory segment without
any cache flushes.
Other architectures also use different values from PAGE_SIZE like IA64 1MB,
SH 16kB and Sparc not even a constant value accross all architectures
variants, so unlike what your posting implicates we're not that unusual.
Ralf
next prev parent reply other threads:[~2002-07-04 19:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-04 15:26 LTP testing (shmat01) Carsten Langgaard
2002-07-04 17:34 ` Ralf Baechle
2002-07-04 18:18 ` Carsten Langgaard
2002-07-04 19:56 ` Ralf Baechle [this message]
2002-07-05 6:30 ` Carsten Langgaard
2002-07-05 14:37 ` Ralf Baechle
2002-07-08 17:31 ` Jun Sun
2002-07-08 17:45 ` Ralf Baechle
2002-07-08 18:13 ` Carsten Langgaard
2002-07-08 18:29 ` PATCH: Fix SHMLBA for mips (Re: LTP testing (shmat01)) H. J. Lu
2002-07-08 18:33 ` Ralf Baechle
2002-07-09 6:11 ` Carsten Langgaard
2002-07-09 6:34 ` Andreas Jaeger
2002-07-10 6:57 ` Ulrich Drepper
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=20020704215614.B29422@dea.linux-mips.net \
--to=ralf@oss.sgi.com \
--cc=carstenl@mips.com \
--cc=linux-mips@oss.sgi.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