On Thu, 27 Jun 2013, Wanpeng Li wrote: > The drain_freelist is called to drain slabs_free lists for cache reap, > cache shrink, memory hotplug callback etc. The tofree parameter is the > number of slab objects to free instead of the number of slabs to free. > The parameter transfered from callers is n->free_objects or n->freelimit > + 5 * (searchp->num - 1) / (5 * searchp->num), and both of them mean > the number of slabs objects. I add printk to dump drain information:
See my reply to V1. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/