[openib-general] Re: RFC: ib_cache_event problems

Roland Dreier rdreier at cisco.com
Tue Jun 6 13:23:58 PDT 2006


 > 1. Cache should create ib_update_work objects statically upon hotplug event.

Seems reasonable, since multiple pending cache update events can be
safely coalesced into one.

 > 2. Need a mechanism for cache to consume events which trigger cache updates,
 > and delay reporting them to ULPs until after cache is updated.

This seems like overkill to me.  And I don't see how to avoid
GFP_ATOMIC allocations that might fail, since the cache module would
need to maintain an arbitrary-length queue of pending events.

 - R.




More information about the general mailing list