Messages in this thread | | | Date | Mon, 1 Jul 2013 15:50:23 +0000 | From | Christoph Lameter <> | Subject | Re: [PATCH v2 1/3] mm/slab: Fix drain freelist excessively |
| |
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.
| |