Re: Running a task of type tq_immediate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 18, 2001 at 08:55:40AM -0000, avichai sefati wrote:
> Hi
> 
> In 2.2, if you used a task_queue of type "tq_immediate", eg. 
> task_queue(&my_task, &tq_immediate), you were required to mark it with 
> mark_bh(IMMEDIATE_BH).
> 
> If I want to use the same thing in 2.4, should I use something like
> 
> __cpu_raise_softirq()
> 
> as appears in netif_rx() ?

No, you should still use mark_bh(IMMEDIATE_BH) 
Just NET_BH is gone.

> 
> Please can anybody give me some example code for this type of task queue or 
> point me to some documentation. Also did anything replace the scheduler 
> queue ( tq_scheduler) from 2.2?

Use schedule_task() instead.


-Andi
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux