From 92fe0535aaa4bf28a09158fd2ce92ee71c633c09 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 3 Nov 2017 23:41:39 +0000 Subject: [PATCH] fsck: note a performance fix --- Applications/util/fsck.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Applications/util/fsck.c b/Applications/util/fsck.c index 0f59b2e1..5068cea1 100644 --- a/Applications/util/fsck.c +++ b/Applications/util/fsck.c @@ -472,6 +472,10 @@ static void pass3(void) blkno_t newno; /*--- was blk_alloc ---*/ + /* FIXME: + 1. Cache the swizzle sizes so we generate nice code for the loops + 2. Set the bits below s_isize + */ for (b = swizzle16(superblock.s_isize); b < swizzle16(superblock.s_fsize); ++b) bitclear(b); -- 2.34.1