Re: [uClinux-dev] [PATCH] NOMMU: use copy_*_user_page() in access_process_vm()

2009-11-25 Thread Jamie Lokier
Jie Zhang wrote: On 11/25/2009 02:16 PM, Jamie Lokier wrote: Mike Frysinger wrote: From: Jie Zhangjie.zh...@analog.com The mmu code uses the copy_*_user_page() variants in access_process_vm() rather than copy_*_user() as the former includes an icache flush. This is important when doing

Re: [uClinux-dev] [PATCH] NOMMU: use copy_*_user_page() in access_process_vm()

2009-11-25 Thread Mike Frysinger
On Wed, Nov 25, 2009 at 06:49, Jamie Lokier wrote: Jie Zhang wrote: On 11/25/2009 02:16 PM, Jamie Lokier wrote: Mike Frysinger wrote: From: Jie Zhangjie.zh...@analog.com The mmu code uses the copy_*_user_page() variants in access_process_vm() rather than copy_*_user() as the former

[uClinux-dev] [PATCH] NOMMU: use copy_*_user_page() in access_process_vm()

2009-11-24 Thread Mike Frysinger
From: Jie Zhang jie.zh...@analog.com The mmu code uses the copy_*_user_page() variants in access_process_vm() rather than copy_*_user() as the former includes an icache flush. This is important when doing things like setting software breakpoints with gdb. So switch the nommu code over to do the

Re: [uClinux-dev] [PATCH] NOMMU: use copy_*_user_page() in access_process_vm()

2009-11-24 Thread Jamie Lokier
Mike Frysinger wrote: From: Jie Zhang jie.zh...@analog.com The mmu code uses the copy_*_user_page() variants in access_process_vm() rather than copy_*_user() as the former includes an icache flush. This is important when doing things like setting software breakpoints with gdb. So switch

Re: [uClinux-dev] [PATCH] NOMMU: use copy_*_user_page() in access_process_vm()

2009-11-24 Thread David McCullough
Jivin Mike Frysinger lays it down ... From: Jie Zhang jie.zh...@analog.com The mmu code uses the copy_*_user_page() variants in access_process_vm() rather than copy_*_user() as the former includes an icache flush. This is important when doing things like setting software breakpoints with

Re: [uClinux-dev] [PATCH] NOMMU: use copy_*_user_page() in access_process_vm()

2009-11-24 Thread Paul Mundt
On Wed, Nov 25, 2009 at 02:27:22PM +0800, Jie Zhang wrote: On 11/25/2009 02:16 PM, Jamie Lokier wrote: Mike Frysinger wrote: From: Jie Zhangjie.zh...@analog.com The mmu code uses the copy_*_user_page() variants in access_process_vm() rather than copy_*_user() as the former includes an