a question about "bh's"

zslinux@263.net
12 Sep 1999 09:13:40 -0000


Dear Sir,
I found some code in sched.c-sched_init()

init_bh(TIMER_BH, timer_bh);
init_bh(TQUEUE_BH, tqueue_bh);
init_bh(IMMEDIATE_BH, immediate_bh);
it attaches 3 routines to the "bh_base",but I can not find where the system
attaches the other routines?
"
struct tq_struct {
struct tq_struct *next; /* linked list of active bh's */
unsigned long sync; /* must be initialized to zero */
void (*routine)(void *); /* function to call */
void *data; /* argument to function */
}
"
it links the tasks,and scheduler runs the corresponding routines,what is
the relationeship between tq and bh_tasks(it is a serial of funtions)?
when does it init the tasks?
Thanks a lot.

_____________________________________________
首都在线--先进中国人的网上家园 http://www.263.net
免费邮箱 邮件杂志 签名邮件 邮件加密 邮件追身呼
搜索引擎 个人站点 在线游戏 网上聊天 网上挂号
金融王国 在线杀毒 跳蚤市场 软件下载 休闲娱乐

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