linux-mips
[Top] [All Lists]

Re: SysV IPC shared memory and virtual alising

To: Dominic Sweetman <dom@algor.co.uk>
Subject: Re: SysV IPC shared memory and virtual alising
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Tue, 14 Aug 2001 10:24:52 +0200
Cc: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>, linux-mips@oss.sgi.com, linux-mips@fnet.fr
In-reply-to: <15214.23110.345236.934305@gladsmuir.algor.co.uk>; from dom@algor.co.uk on Mon, Aug 06, 2001 at 09:50:14AM +0100
References: <20010806164452D.nemoto@toshiba-tops.co.jp> <15214.23110.345236.934305@gladsmuir.algor.co.uk>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Mon, Aug 06, 2001 at 09:50:14AM +0100, Dominic Sweetman wrote:

> > Here is an patch to fix virtual aliasing problem with SysV IPC
> > shared memory.  I tested this patch on a r4k cpu with 32Kb D-cache.
> > 
> > If D-cache is smaller than PAGE_SIZE this patch is not needed at
> > all...
> 
> More precisely, if the size of a D-cache "set" is smaller than
> PAGE_SIZE.  So a CPU with a 16Kbyte 4-way set-associative cache and
> 4Kbyte PAGE_SIZE is safe.

Or is physically indexed and physically tagged or magically deals with
aliasing such as R4000 / R4400 SC and MC versions or R10000, R12000 or
R14000.

  Ralf

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