[ofa-general] mapping kernel memory to userspace in <= 2.6.14

Steve Wise swise at opengridcomputing.com
Tue Mar 13 13:15:43 PDT 2007


On Tue, 2007-03-13 at 15:13 -0500, Steve Wise wrote:
> On Tue, 2007-03-13 at 13:03 -0700, Bryan O'Sullivan wrote:
> > Steve Wise wrote:
> > 
> > > My guess is ehca and ipath have similar issues on these older kernels. 
> > 
> > No.  We worked through all of that a long, long time ago.
> > 
> > 	<b
> 
> Care to explain how?  I see in ipath_mmap_mem() you call
> remap_pfn_range() to map memory that was allocated via
> dma_alloc_coherent().  
> 
> What I've found is that this isn't sufficient.  You need to also reserve
> the pages of that memory for kernels < 2.6.15.
> 
> Maybe I'm missing where you do this?
> 
> Maybe you don't really do kernel bypass like cxgb3 is doing?
> 
> 

Never mind.  I see the patches in kernel_patches/backports.

Wish I would have seen this weeks ago :-\






More information about the general mailing list