Messages in this thread | | | Date | Mon, 23 Feb 2004 12:06:47 +1100 | From | Nick Piggin <> | Subject | Re: Large slab cache in 2.6.1 |
| |
Andrew Morton wrote:
>Nick Piggin <piggin@cyberone.com.au> wrote: > >> >>>yep. >>> >>> >>> >>Yeah this is good. I thought the patch you were proposing was >>to shrink slab on highmem pressure. >> > >That as well. > >
Well this is the complexity I'm talking about. Sure it is actually "simpler" code wise, but you're making it conceptually more complex.
>>Apply some lowmem pressure due to highmem pressure THEN shrink >>slab as a result of the lowmem pressure is much better. >> > >Prove it to me ;) > >
Your slab wasn't being shrunk because the slab pressure calculation was way off for highmem systems. My patch fixed that, so lowmem pressure should shrink slab properly.
Then with your patch, highmem pressure will apply lowmem pressure. So the end result is that the slab gets appropriate pressure.
Can't you just prove to me why that doesn't work? ;)
- 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/
| |