[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1343930368.25013.215.camel@sauron.fi.intel.com>
Date: Thu, 02 Aug 2012 20:59:28 +0300
From: Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>
To: Richard Weinberger <richard@....at>
Cc: Tim Bird <tim.bird@...sony.com>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"adrian.hunter@...el.com" <adrian.hunter@...el.com>,
"Heinz.Egger@...utronix.de" <Heinz.Egger@...utronix.de>,
"thomas.wucher@...utronix.de" <thomas.wucher@...utronix.de>,
"shmulik.ladkani@...il.com" <shmulik.ladkani@...il.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"Marius.Mazarel@...l.ro" <Marius.Mazarel@...l.ro>,
"nyoushchenko@...sta.com" <nyoushchenko@...sta.com>
Subject: Re: UBI fastmap updates
On Thu, 2012-08-02 at 19:45 +0200, Richard Weinberger wrote:
> This should be very easy task.
Right. But unfortunately, I had to spend a lot of time writing lengthy
e-mails. You could hold your horses for a minute, ask specific questions
and find out what was my concern.
> How much PEB should be reserved? 2 x sizeof(fastmap)?
Is there any reason why it cannot be the _exact_ maximum number? Not
more and not less.
If I understand correctly, fastmap size is a function of total PEBs
count. You should be able to calculate the maximum size precisely.
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists