Re: [patch 12/26] SLUB: Slab defragmentation core
From: Christoph Lameter <hidden>
Date: 2007-06-26 18:19:34
Also in:
lkml
On Tue, 26 Jun 2007, Andrew Morton wrote:
quoted
No slab operations may be performed in get_reference(). Interruptss/get_reference/get/, yes?
Correct.
(What's the smallest sized object slub will create? 4 bytes?)
__alignof__(unsigned long long)
To hold off a concurrent free while defragging, the code relies upon slab_lock() on the current page, yes?
Right.
But slab_lock() isn't taken for slabs whose objects are larger than PAGE_SIZE. How's that handled?
slab lock is always taken. How did you get that idea?
Overall: looks good. It'd be nice to get a buffer_head shrinker in place, see how that goes from a proof-of-concept POV.
Ok.
How much testing has been done on this code, and of what form, and with what results?
I posted them in the intro of the last full post and then Michael Piotrowski did some stress tests. See http://marc.info/?l=linux-mm&m=118125373320855&w=2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>