[PATCH][UBI]:Remove the prot tree from the WL unit

Artem Bityutskiy dedekind at infradead.org
Thu Jul 17 05:40:34 EDT 2008


On Thu, 2008-07-17 at 11:17 +0800, xiaochuan-xu wrote:
> I believe the next patch should modify the used tree, i.e., adding the
> @tempr element to @struct ubi_wl_entry and some relative sentences.
> Of course, a used tree special function refer to as @wl_used_tree_add()
> is in need.  
> 
> What do you think?

That's fine. Please, do this.

A thing for you to think about:
One thing I am concerned about is memory consumption. The temperature
is 'long long', so you add 64-bits to per-PEB objects. Do you think it
will be possible to make it 32-bit to reduce memory usage, and deal with
overflows somehow? Anyway, let's  leave it 64-bit for now and see what
we may do after this.

Thanks.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list