Re: [openib-general] ipoib lockdep warning

From: Sean Hefty
Date: Wed Jul 12 2006 - 12:31:25 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/