commit 2c153b934dca08d58e0aafde18a182e0891aa201 Author: Hal Rosenstock <[EMAIL PROTECTED]> Date: Wed Jul 27 11:45:31 2005 -0700[PATCH] IB: Eliminate MAD cache leak associated with local completionsEliminate MAD cache leak associated with local completions. Also, whencanceling MAD, empty local completion list as well.Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>Cc: Roland Dreier <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> More later...FWIW, I traced the origin of this change back to the following thread: http://lists.openfabrics.org/pipermail/general/2005-May/thread.html http://lists.openfabrics.org/pipermail/general/2005-May/005951.html Subject: slab error in kmem_cache_destroy(): cache `ib_mad': Can't free all objects
Looking back at the patch above, I think that emptying the local completion list in cancel_mads() is separate from fixing the cache leak in local_completions(). By removing the local list handling from cancel_mads(), all handling of those mads should go through local_completions() instead, where the memory leak was addressed.
- Sean _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
