| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: copy_from_user_page/copy_to_user_page fix |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Wed, 9 Feb 2005 13:51:05 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20050209.184947.30439119.nemoto@toshiba-tops.co.jp> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20050209.184947.30439119.nemoto@toshiba-tops.co.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.1i |
On Wed, Feb 09, 2005 at 06:49:47PM +0900, Atsushi Nemoto wrote: > Yet another dcache aliasing problem. > > Since access_process_vm() in kernel 2.6 does not call > flush_cache_page(), it seems copy_to_user_page()/copy_from_user_page() > should flush data cache to resolve aliasing. > > Without this fix, gdb will not work correctly. Could you apply? I'm going to apply this because it's a correct fix; the temporary mapping strategy as we've discussed for the dup_mmap problem would be preferable. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | copy_from_user_page/copy_to_user_page fix, Atsushi Nemoto |
|---|---|
| Next by Date: | Re: copy_from_user_page/copy_to_user_page fix, Atsushi Nemoto |
| Previous by Thread: | copy_from_user_page/copy_to_user_page fix, Atsushi Nemoto |
| Next by Thread: | Re: copy_from_user_page/copy_to_user_page fix, Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |