On Tue, 2015-06-09 at 19:17 -0700, Andrew Morton wrote: > On Tue, 9 Jun 2015 21:00:58 -0500 (CDT) Christoph Lameter <cl@xxxxxxxxx> wrote: > > On Tue, 9 Jun 2015, Andrew Morton wrote: > > > > Why do this at all? > > Did some grepping and I did see some call sites that do this but the > > majority has to do other processing as well. > > > > 200 call sites? Do we have that many uses of caches? Typical prod system > > have ~190 caches active and the merging brings that down to half of that. > I didn't try terribly hard. > z:/usr/src/linux-4.1-rc7> grep -r -C1 kmem_cache_destroy . | grep "if [(]" | wc -l > 158 > > It's a lot, anyway. Yeah. $ git grep -E -B1 -w "(kmem_cache|mempool|dma_pool)_destroy" *| \ grep -P "\bif\s*\(" | wc -l 268 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>