PERFORCE change 180741 for review

John Baldwin jhb at freebsd.org
Mon Jul 12 15:08:36 UTC 2010


On Saturday, July 10, 2010 11:09:21 pm Alexandre Fiveg wrote:
> http://p4web.freebsd.org/@@180741?ac=10
> 
> Change 180741 by afiveg at 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


More information about the p4-projects mailing list