[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16399.1259765124@redhat.com>
Date: Wed, 02 Dec 2009 14:45:24 +0000
From: David Howells <dhowells@...hat.com>
To: Mike Frysinger <vapier@...too.org>
Cc: dhowells@...hat.com, uclinux-dev@...inux.org,
David McCullough <davidm@...pgear.com>,
Greg Ungerer <gerg@...inux.org>,
Paul Mundt <lethal@...ux-sh.org>, linux-kernel@...r.kernel.org,
uclinux-dist-devel@...ckfin.uclinux.org,
Jie Zhang <jie.zhang@...log.com>
Subject: Re: [PATCH] NOMMU: use copy_*_user_page() in access_process_vm()
Mike Frysinger <vapier@...too.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists