Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2010 10:13:30 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Alexandre Fiveg <afiveg@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 180741 for review
Message-ID:  <201007121013.30769.jhb@freebsd.org>
In-Reply-To: <201007110309.o6B39Lr2057896@repoman.freebsd.org>
References:  <201007110309.o6B39Lr2057896@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, July 10, 2010 11:09:21 pm Alexandre Fiveg wrote:
> http://p4web.freebsd.org/@@180741?ac=10
> 
> Change 180741 by afiveg@cottonmouth on 2010/07/11 03:08:49
> 
> 	d_mmap is eliminated from ringmap because of very strange behavior. Now: 
user-space process calls read(/dev/ringmap ... ) in order get physical addres 
of ring. Then by calling mmap(/dev/mem, .... , offset=ring_phys_addr) the ring 
will be mapped into user-space.

Oof, this is not appropriate.  You should use d_mmap.  Can you provide more 
details on the problems you see with d_mmap?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007121013.30769.jhb>