On Tue, Feb 28, 2006 at 03:05:16PM +0200, Or Gerlitz wrote: > Christoph Hellwig wrote: > > > use kmap_atomic instead of page_address in the code copying from/to SG > > > which is unaligned for rdma > > > >this isn't entirely correct I think. iser_finalize_rdma_unaligned_sg > >is called from a tasklist, which is softirq context, so you can't use > >KM_USER0 there. KM_SOFTIRQ0 should probably work. > > This is exactly the case, iser_finalize_rdma_unaligned_sg runs in > tasklet context and its code is using KM_SOFTIRQ0 and > iser_start_rdma_unaligned_sg runs in kernel thread or user process > context and its code uses KM_USER0
I'm sorry, I misread the code for some reason. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
