Hi, General optimization of fs/inode.c code. Changed the role of variable "first_inode", changed the direction of walking through the inode list depending in the intended operation, prefer the use of pointers over array indexing, use do {}while() loops when possible (which bcc "prefers"). The changes reduce both code size and processing time and were tested copying a lot of files running elks under qemu, checking the integrity of the copied files and running fsck for the modified filesystem under linux. 2. A small optimization in file fs/minix/file.c, function minix_file_read(). 3. Code size reduced by 192 bytes. The Image builded without errors. The kernel was tested with QEMU and dioscuri emulators. Also in a PPro pc booting from floppy. Greetings, Juan
Attachment:
elksW.patch
Description: Binary data