| To: | jsun@mvista.com |
|---|---|
| Subject: | Re: Linux Shared Memory Issue |
| From: | Atsushi Nemoto <nemoto@toshiba-tops.co.jp> |
| Date: | Thu, 25 Apr 2002 14:25:18 +0900 (JST) |
| Cc: | turcotte@broadcom.com, linux-mips@oss.sgi.com, mturc@broadcom.com |
| In-reply-to: | <3CC72BA3.90600@mvista.com> |
| Organization: | TOSHIBA Personal Computer System Corporation |
| References: | <NDBBKEAAOJECIDBJKLIHOEDDCDAA.turcotte@broadcom.com> <3CC72BA3.90600@mvista.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
>>>>> On Wed, 24 Apr 2002 15:03:15 -0700, Jun Sun <jsun@mvista.com> said:
jsun> Looks like the infamous cache aliasing problem. Steve
jsun> Longerbeam had a patch which may help. Please try it and let me
jsun> know the results.
jsun> +#define COLOUR_ALIGN(addr) (((addr)+SHMLBA-1)&~(SHMLBA-1))
Recent sparc64's COLOUR_ALIGN macro have pgoff argument like this.
We should do it same way for MIPS?
#define COLOUR_ALIGN(addr,pgoff) \
((((addr)+SHMLBA-1)&~(SHMLBA-1)) + \
(((pgoff)<<PAGE_SHIFT) & (SHMLBA-1)))
Thank you.
---
Atsushi Nemoto
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Updates for RedHat 7.1/mips, Keith Owens |
|---|---|
| Next by Date: | Re: reiserfs, Ralf Baechle |
| Previous by Thread: | Re: Linux Shared Memory Issue, Jun Sun |
| Next by Thread: | Re: Linux Shared Memory Issue, Jun Sun |
| Indexes: | [Date] [Thread] [Top] [All Lists] |