[Top] [All Lists]

Re: copy_from_user_page/copy_to_user_page fix

To: Atsushi Nemoto <>
Subject: Re: copy_from_user_page/copy_to_user_page fix
From: Ralf Baechle <>
Date: Wed, 9 Feb 2005 13:51:05 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
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.


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