On Wed, 14 Apr 2010, Denys Vlasenko wrote:
> On Tue, Apr 13, 2010 at 4:35 AM, Jörgen Pihlflyckt
> <[email protected]> wrote:
> > Hi!
> >
> > I noticed that the devmem applet maps two consecutive pages of memory in 
> > order
> > to allow access to a (non-aligned) object that spans two pages. This is a
> > problem if we are working with the last page of memory because the next page
> > would wrap around to the first page of memory.
> >
> > This patch makes devmem map only a single page if it is at the end of the
> > memory address space.
> 
> How about this patch? It maps two pages only if needed.
> It will (try to) map past the end, but only if user actually
> request an access which spans the end of last page.

Didn't I already do this?
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to