[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110905182226.GA30333@opensource.wolfsonmicro.com>
Date: Mon, 5 Sep 2011 11:22:27 -0700
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Lars-Peter Clausen <lars@...afoo.de>
Cc: Dimitris Papastamos <dp@...nsource.wolfsonmicro.com>,
linux-kernel@...r.kernel.org, Liam Girdwood <lrg@...com>,
Graeme Gregory <gg@...mlogic.co.uk>,
Samuel Oritz <sameo@...ux.intel.com>
Subject: Re: [PATCH 2/8] regmap: Add the indexed cache support
On Mon, Sep 05, 2011 at 12:14:26PM +0200, Lars-Peter Clausen wrote:
> In my opinion we should work towards having rbtree as the only cache type, but
> with optional lzo compression on the rbtree node blocks.
If we are going to do something like that we should probably just go by
block size to decide if we should do the compression and do the thing
with keeping the most recently used LZO block (or perhaps a few)
uncompressed in RAM for speed. Probably also look at the compression we
get when we decide to compress and not bother doing the compression if
it's a small saving, though we will have burned CPU.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists