[openib-general] [PATCH 3 of 4] IB/mthca: fix non-cache-coherent CPUs with memfree

Roland Dreier rdreier at cisco.com
Mon Feb 12 12:25:30 PST 2007


 > +	sg_set_buf(mem, buf, PAGE_SIZE << order);
 > +	BUG_ON(mem->offset);
 > +	sg_dma_len(mem) = PAGE_SIZE << order;

What am I missing?  Any reason to set sg_dma_len() again after sg_set_buf()?




More information about the general mailing list