Messages in this thread | | | Date | Thu, 15 Sep 2005 09:21:50 +0200 | From | Helge Hafting <> | Subject | Re: VM balancing issues on 2.6.13: dentry cache not getting shrunk enough |
| |
Martin J. Bligh wrote:
> >If they're freeable, we should easily be able to move them, and therefore >compact a fragmented slab. That way we can preserve the LRU'ness of it. >Stage 1: free the oldest entries. Stage 2: compact the slab into whole >pages. Stage 3: free whole pages back to teh page allocator. > > That seems like the perfect solution to me. Freeing up 95% or more gives us clean pages - and moving instead of actually freeing everything avoids the cost of repopulating the cache later. :-)
Helge Hafting - 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/
| |