> > > 1. Greater degree of control by individual drivers. Drivers have a > > > choice to use it or not. > > > > I believe that some callers need to know that specific query calls will not > sleep. That capability should either be required or exposed through the API. > > The new cache access functions do not sleep. This is the primary > objective of the exercise. See motviation 2 :) > Exceptions are the init functions which may sleep because of kzalloc(). > Did you want me to mention this specifically in the comments?
Yes, but the use of the cache is hidden from the user. Currently calls like ib_query_gid() are allowed to sleep. If drivers are given the choice whether or not to use the cache, then there's no way for a user to know whether a query call will sleep or not. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
