diff options
author | Xiaochuan-Xu <xiaochuan-xu@cqu.edu.cn> | 2008-12-15 21:07:41 +0800 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-16 10:09:58 +0200 |
commit | 7b6c32daec3bff380ced6822002bc352bdf2c982 (patch) | |
tree | 8c5cb043f18451628151dc2492410fb70999a634 /Documentation | |
parent | 23553b2c08c9b6e96be98c44feb9c5e640d3e789 (diff) | |
download | blackbird-op-linux-7b6c32daec3bff380ced6822002bc352bdf2c982.tar.gz blackbird-op-linux-7b6c32daec3bff380ced6822002bc352bdf2c982.zip |
UBI: simplify PEB protection code
UBI has 2 RB-trees to implement PEB protection, which is too
much for simply prevent PEB from being moved for some time.
This patch implements this using lists. The benefits:
1. No need to allocate protection entry on each PEB get.
2. No need to maintain balanced trees and walk them.
Signed-off-by: Xiaochuan-Xu <xiaochuan-xu@cqu.edu.cn>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions