lkml.org 
[lkml]   [2009]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] NOMMU: use copy_*_user_page() in access_process_vm()
Date
Mike Frysinger <vapier@gentoo.org> wrote:

> 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 same.

Note that we may only really want to do an icache flush if the target region
is mapped executable somewhere. On the other hand, for debugging stuff on an
embedded board, it probably doesn't matter.

David


\
 
 \ /
  Last update: 2009-12-02 15:49    [W:0.096 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site