[openib-general] What context can CM be called from?

Roland Dreier roland at topspin.com
Mon Mar 28 16:30:48 PST 2005


    Sean> We might be able to change the CM to be called at interrupt,
    Sean> but doing so requires changes to the verbs implementation.
    Sean> The cm_alloc_msg() calls ib_create_ah(), which I believes
    Sean> calls kmalloc in a similar fashion.  I should also note that
    Sean> cm_free_msg() calls ib_destroy_ah().

Yep good point.  A particular implementation of ib_create_ah() may be
safe from interrupt context but in general ib_create_ah() needs to be
allowed to sleep.

So I guess you've got your marching orders, Libor...

 - R.



More information about the general mailing list