aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-15 12:05:54 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-16 10:31:40 +0300
commitdebf12d54182b324a01c4276b003669c94b7b531 (patch)
tree972640a41690e8946bd89636765cbaa6a5aa63f5 /security/tomoyo
parent074bcb9b5ce698bd7b02ddb469da9cba21fe83fd (diff)
downloadkernel_samsung_smdk4412-debf12d54182b324a01c4276b003669c94b7b531.zip
kernel_samsung_smdk4412-debf12d54182b324a01c4276b003669c94b7b531.tar.gz
kernel_samsung_smdk4412-debf12d54182b324a01c4276b003669c94b7b531.tar.bz2
UBIFS: substitute the replay tree with a replay list
This patch simplifies replay even further - it removes the replay tree and adds the replay list instead. Indeed, we just do not need to use a tree here - all we need to do is to add all nodes to the list and then sort it. Using RB-tree is an overkill - more code and slower. And since we replay buds in order, we expect the nodes to follow in _mostly_ sorted order, so the merge sort becomes much cheaper in average than an RB-tree. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions