Messages in this thread Patch in this message | | | Date | Sun, 8 Nov 1998 02:27:02 +0100 (CET) | From | Andrea Arcangeli <> | Subject | [schedule timeout update 2] Re: Compile failure on 2.1.127 |
| |
On 7 Nov 1998, Michael Harnois wrote:
>And it did fix the first error. But I still went on to get this one:
Index: linux/drivers/char/ftape/zftape/zftape-buffers.c diff -u linux/drivers/char/ftape/zftape/zftape-buffers.c:1.1.1.1 linux/drivers/char/ftape/zftape/zftape-buffers.c:1.1.1.1.14.1 --- linux/drivers/char/ftape/zftape/zftape-buffers.c:1.1.1.1 Fri Oct 2 19:23:18 1998 +++ linux/drivers/char/ftape/zftape/zftape-buffers.c Sun Nov 8 02:26:29 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+9)/10); } memset(new, 0, size); used_memory += size;
Andrea Arcangeli
- 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/
| |