From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from top.free-electrons.com ([176.31.233.9] helo=mail.free-electrons.com) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WCzcN-0000rS-Q3 for linux-mtd@lists.infradead.org; Mon, 10 Feb 2014 22:46:24 +0000 Date: Mon, 10 Feb 2014 23:46:00 +0100 From: Thomas Petazzoni To: Piergiorgio Beruto Subject: Re: [PATCH 1/1] ubi: Introduce block devices for UBI volumes Message-ID: <20140210234600.3a03b346@skate> In-Reply-To: References: <52F6BCCD.5070302@nod.at> <20140208233758.GH22376@1wt.eu> <52F6C916.2030506@nod.at> <20140209075157.GJ22376@1wt.eu> <20140210024827.GB9643@localhost> <1392017750.31031.8.camel@sauron.fi.intel.com> <20140210082714.GB10872@localhost> <20140210084616.GP22376@1wt.eu> <20140210142026.GB15607@localhost> <1392043814.32363.49.camel@sauron.fi.intel.com> <20140210184858.GA6484@localhost> <20140210233754.71e3e199@skate> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Mike Frysinger , Artem Bityutskiy , Richard Weinberger , "linux-mtd@lists.infradead.org" , Ezequiel Garcia , Michael Opdenacker , Brian Norris , David Woodhouse , Willy Tarreau List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Dear Piergiorgio Beruto, On Mon, 10 Feb 2014 23:41:54 +0100, Piergiorgio Beruto wrote: > sorry for interrupting, but what's the benefit in using a runtime var? > It is great to being able to reduce code size for embedded systems. And ubiblk is likely to be used for embedded. The point about the caching feature was not really the increased code size, but rather the memory consumption caused by the cache itself. This can be solved using a runtime configurable module parameter. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com