From: Alan Cox Date: Fri, 3 Nov 2017 23:41:39 +0000 (+0000) Subject: fsck: note a performance fix X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=92fe0535aaa4bf28a09158fd2ce92ee71c633c09;p=FUZIX.git fsck: note a performance fix --- 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);