[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    [MIPS] Do not use drop_mmu_context to flusing other task's VIPT I-cache.
From:       linux-mips () linux-mips ! org
Date:       2006-08-25 11:46:54
Message-ID: S20038802AbWHYLq7/20060825114659Z+3539 () ftp ! linux-mips ! org
[Download RAW message or body]

Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Fri Aug 25 17:55:31 2006 +0900
Comitter: Ralf Baechle <ralf@linux-mips.org> Fri Aug 25 12:39:21 2006 +0100
Commit: 0013b7f4016a1a9a554ce66a3640394ee7053768
Gitweb: http://www.linux-mips.org/g/linux/0013b7f4
Branch: master

c-r4k.c and c-sb1.c use drop_mmu_context() to flush virtually tagged
I-caches, but this does not work for flushing other task's icache.  This
is for example triggered by copy_to_user_page() called from ptrace(2).
Use indexed flush for such cases.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

---

 arch/mips/mm/c-r4k.c |    4 ++--
 arch/mips/mm/c-sb1.c |   56 ++++++++++++++++++++++++++++----------------------
 2 files changed, 33 insertions(+), 27 deletions(-)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic