Messages in this thread | | | Date | Mon, 4 May 2009 07:39:06 +0200 | From | Lars Ellenberg <> | Subject | Re: [v2] Generic LRU cache built on a kmem_cache and a "struct shrinker" |
| |
On Mon, May 04, 2009 at 01:20:02AM -0400, Kyle Moffett wrote: > On Sun, May 3, 2009 at 8:48 PM, Kyle Moffett <kyle@moffetthome.net> wrote: > > On Sun, May 3, 2009 at 6:48 PM, Lars Ellenberg <lars.ellenberg@linbit.com> wrote: > >> but wait for the next post to see a better documented (or possibly > >> rewritten) implementation of this. > > > > Yeah, I'm definitely reworking it now that I have a better > > understanding of what the DRBD code really wants. My main intention > > is to have the code be flexible enough that filesystems and other > > sorts of network-related code can use it transparently, without > > requiring much in the way of manual tuning. See Linus' various > > comments on why he *hates* manual tunables.
:)
> I'm heading to bed, but I figured I'd share what I've hacked up so > far. This new version hasn't even been remotely compile-tested yet, > but it has most of the runtime-adjustable limits and tunables added.
> Lars, hopefully this is a little bit more usable for you?
I had my (as usual too short) sleep already, and now it looks much closer to what we need, partly because you changed them (thanks), and partly because my focus area on the display now is slighly larger again ;)
hash table for the "get_by_label" still missing, I'll see what I can do about that.
Lars -- 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/
| |