Scheduling changes strikes again!
Apply this patch:
--- v2.1.127/drivers/char/ftape/zftape/zftape-buffers.c Sat Nov 7
22:07:21 1998
+++ linux/drivers/char/ftape/zftape/zftape-buffers.c Sun Nov 8 01:56:57
1998
@@ -122,9 +122,8 @@
void *new;
while ((new = kmalloc(size, GFP_KERNEL)) == NULL) {
- current->timeout = HZ/10;
current->state = TASK_INTERRUPTIBLE;
- schedule();
+ schedule_timeout(HZ/10);
}
memset(new, 0, size);
used_memory += size;
-- * Jens Axboe * * "The only thing that interferes with my * learning is my education." -- A. Einstein- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/