Re: Asynch I/O overloaded 2.2.15/2.3.99

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Apr 12 2000 - 13:32:22 EST


On Wed, 12 Apr 2000, Andre Hedrick wrote:

>I have begun adjusting to a schedule to easy the loop load and it appears
>harmless and stable.

To schedule safely you need:

        if (current->need_resched) {
                __set_current_state(TASK_RUNNING);
                schedule();
        }

(until we'll break schedule in two pieces)

Andrea

-
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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:19 EST