On Mon, Jul 01, 2013 at 03:46:52PM +0000, Christoph Lameter wrote: >On Mon, 24 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. > >Well its intended to be the number of slabs to free. The patch does not >fix the callers that pass the number of slabs. > >I think the best approach would be to fix the callers that pass # of >objects. Make sure they pass # of slabs. > Good point, I will fix it in next version. Regards, Wanpeng Li >-- >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> -- 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>