Hi, Patch 5 of 5 Juan PREVIOUS OPERATION 1. In file fs/buffer.c, function getblk() never returns NULL. However, several functions checks for this result, wasting time and space. 2. In arch/i86/drivers/block/ll_rw_blk.c, function make_request() makes redundant checks of flags uptodate and dirty. These flags are checked even before calling ll_rw_blk(). NEW OPERATION 1. The mentioned redundant checks were removed. 2. In file fs/block_dev.c, function blk_rw() was modified to make it faster and smaller. OTHER CHANGES Code size reduced by 96 bytes. The Image builded without errors. The kernel was tested with QEMU and dioscuri emulators. Also in a PPro pc booting from floppy.
Attachment:
elksS.patch
Description: Binary data