[openib-general] ipoib lockdep warning

Sean Hefty mshefty at ichips.intel.com
Wed Jul 12 09:31:53 PDT 2006


Michael S. Tsirkin wrote:
> Yes, this is true for users that pass GFP_ATOMIC to sa_query, at least.  But
> might not be so for other users:  send_mad in sa_query actually gets gfp_flags
> parameter, but for some reason it does not pass it to idr_pre_get, which means
> even sa query done with GFP_KERNEL flag is likely to fail.
> 
> Sean, it seems we need something like the following - what do you think?

I noticed this same thing looking at the code yesterday.  I can't think of any 
reason why your patch wouldn't work.

- Sean





More information about the general mailing list