
On Thursday 26 February 2009, Artem Bityutskiy wrote:
The U-Boot UBIFS implementation is largely a direct copy from the current Linux version (2.6.29-rc6). As already done in the UBI version we have an "abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock() ...). This makes it possible to use the original Linux code with very little changes. And by this we can better update to later Linux versions.
Well, this is not abstraction layer, we just thought that at some point we'd have more fine-grained locking, so we wrapped the LPT mutex :-)
Also, you could probably remove a lot of code related to writing, if you wanted. E.g., whole garbage collecting, committing, synching stuff, and so on.
Yes, sure. I already removed a lot of code. It would be great if you could point me to some parts of the code that could be removed as well. Could be that I overlooked some things.
Thanks.
Best regards, Stefan