--- 2.4.10pre12aa1/fs/inode.c.~1~ Thu Sep 20 01:44:07 2001 +++ 2.4.10pre12aa1/fs/inode.c Thu Sep 20 08:37:33 2001 @@ -295,6 +295,12 @@ * so we have to start looking from the list head. */ tmp = head; + + if (unlikely(current->need_resched)) { + spin_unlock(&inode_lock); + schedule(); + spin_lock(&inode_lock); + } } }