Re: bh order preserved?

Gabor Kuti (ksx@sch.bme.hu)
Tue, 8 Dec 1998 08:12:34 +0100 (MET)


On Mon, 7 Dec 1998, Frank Sweetser wrote:

> if i queue up several bottom half handler functions, are they guaranteed to
> be executed in the same order in which they were queued up? ie, if i do
>
> queue_task(&first_queue, &tq_immediate);
> queue_task(&second_queue, &tq_immediate);
No, they are actually called in reverse order. The new item is inserted
_before_ the current list..
So first second_q, second first_q comes..
look in include/linux/tqueue.h...

Seasons
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
"One who has time to complain has time to submit patches." <chinese proverb>
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

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