Re: [PATCH] patch-slab-split-03-tail

Andrew Morton (akpm@digeo.com)
Fri, 04 Oct 2002 12:06:04 -0700


Manfred Spraul wrote:
>
> part 3:
> [depends on -02-SMP]
>
> If an object is freed from a slab, then move the slab to the tail of the
> partial list - this should increase the probability that the other
> objects from the same page are freed, too, and that a page can be
> returned to gfp later.
>
> The cpu arrays are now always in front of the list, i.e. cache hit rates
> should not matter.
>

Run that by me again? So we're saying "if we just freed an
object from this page then make this page be the *last* page
which is eligible for new allocations"? Under the assumption
that other objects in that same page are about to be freed
up as well?

Makes sense. It would be nice to get this confirmed in
targetted testing ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/