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: Fri, 5 Jul 2002 16:37:54 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <3D253D18.3BE59AED@mips.com>; from carstenl@mips.com on Fri, Jul 05, 2002 at 08:30:48AM +0200
References: <3D246924.542682B2@mips.com> <20020704193414.A29570@dea.linux-mips.net> <3D249181.D9147AAE@mips.com> <20020704215614.B29422@dea.linux-mips.net> <3D253D18.3BE59AED@mips.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
On Fri, Jul 05, 2002 at 08:30:48AM +0200, Carsten Langgaard wrote:

> Using PAGE_SIZE is ok, even though it may differ from different architecture,
> because SHMLBA is defined as the following in /usr/include/sys/shm.h:
> #define SHMLBA          (__getpagesize ())
> 
> So I would expect the user application and the kernel should have the same
> idea of what the size is.

Definately.  I just checked it - this is an antique bug that was already
present in glibc 2.0.6.  I'm amazed people we got away with that one for
so long ...

  Ralf


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