Re: [PATCH] Remove struct reclaim_state

From: Andrew Morton
Date: Fri Apr 29 2005 - 19:54:59 EST

Matthew Dobson <colpatch@xxxxxxxxxx> wrote:
> Since shrink_slab() currently returns 0 no matter what happens,
> I changed it to return the number of slab pages freed.

A sane cleanup, but it conflicts with vmscan-notice-slab-shrinking.patch,
which returns a different thing from shrink_slab() in order to account for
slab reclaim only causing internal fragmentation and not actually freeing
pages yet.

vmscan-notice-slab-shrinking.patch isn't quite complete yet, but we do need
to do something along these lines. I need to get back onto it.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at