linux-mips
[Top] [All Lists]

Re: [PATCH] do not use drop_mmu_context to flusing other task's icache

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] do not use drop_mmu_context to flusing other task's icache
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 25 Aug 2006 12:46:28 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20060825.175531.99204769.nemoto@toshiba-tops.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060825.175531.99204769.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Fri, Aug 25, 2006 at 05:55:31PM +0900, Atsushi Nemoto wrote:

> The c-r4k.c and c-sb1.c use drop_mmu_context() to flushing virtually
> tagged icache, but this would not work for flushing other task's
> icache.  The ptrace() (and copy_to_user_page()) is the case.  Use
> indexed flush for such cases.

Good spotting!

  Ralf

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