Re: [LSF/MM ATTEND] slab cache extension -- slab cache in fixed size
From: Christoph Lameter <hidden>
Date: 2014-01-31 15:44:13
Also in:
linux-fsdevel
From: Christoph Lameter <hidden>
Date: 2014-01-31 15:44:13
Also in:
linux-fsdevel
On Wed, 15 Jan 2014, Jeff Liu wrote:
Now I have a rough/stupid idea to add an extension to the slab caches [2], that is if the slab cache size is limited which could be determined in cache_grow(), the shrinker would be triggered accordingly. I'd like to learn/know if there are any suggestions and similar requirements in other subsystems.
Hmmm.... Looks like you got the right point where to insert the code to check for the limit. But lets leave the cache creation API the way it is. Add a function to set the limit? -- 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>