linux-mips
[Top] [All Lists]

Re: LTP testing (shmat01)

To: Carsten Langgaard <carstenl@mips.com>
Subject: Re: LTP testing (shmat01)
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Thu, 4 Jul 2002 19:34:14 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <3D246924.542682B2@mips.com>; from carstenl@mips.com on Thu, Jul 04, 2002 at 05:26:28PM +0200
References: <3D246924.542682B2@mips.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
On Thu, Jul 04, 2002 at 05:26:28PM +0200, Carsten Langgaard wrote:

> The LTP test shmat01 fails on MIPS, because SHMLBA is defined to 0x40000
> (in include/asm-mips/shmparam.h).
> For all other architectures SHMLBA is defined to PAGE_SIZE, does anyone
> know why we are different ?

Sounds like a broken test.  The value of SHMLBA is ABI mandated.  Technically
we could use any power of 2 >= 32kB easily and with plenty of headache
any power of 2 > PAGE_SIZE.

  Ralf


<Prev in Thread] Current Thread [Next in Thread>