linux-mips-fnet
[Top] [All Lists]

Re: SysV IPC shared memory and virtual alising

To: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Subject: Re: SysV IPC shared memory and virtual alising
From: Dominic Sweetman <dom@algor.co.uk>
Date: Mon, 6 Aug 2001 09:50:14 +0100 (BST)
Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr
In-reply-to: <20010806164452D.nemoto@toshiba-tops.co.jp>
References: <20010806164452D.nemoto@toshiba-tops.co.jp>
Atsushi Nemoto (nemoto@toshiba-tops.co.jp) writes:

> 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.

Dominic Sweetman
Algorithmics Ltd

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