Defrag in shrinkers

Andi Kleen andi at firstfloor.org
Fri May 14 15:36:03 CDT 2010


Christoph Lameter <cl at linux.com> writes:

> Would it also be possible to add some defragmentation logic when you
> revise the shrinkers? Here is a prototype patch that would allow you to
> determine the other objects sitting in the same page as a given object.
>
> With that I hope that you have enough information to determine if its
> worth to evict the other objects as well to reclaim the slab page.

I like the idea, it would be useful for the hwpoison code too,
when it tries to clean a page.

-Andi

-- 
ak at linux.intel.com -- Speaking for myself only.




More information about the xfs mailing list