Where can I find info about that ?
My first idea was to fire a timer and let the callback routine do the work,
but I worry about synchronization and about passing the list of items for it
What is the accepted way of starting a kernel thread and how do I handle
parameters and sync. ?
From: Jeff Garzik [mailto:jgarzik@xxxxxxxxxxxxxxxx]
Sent: Thursday, November 09, 2000 7:37 PM
To: Hen, Shmulik
Cc: 'LNML'; 'LKML'; netdev@xxxxxxxxxxx
Subject: Re: catch 22 - porting net driver from 2.2 to 2.4
do_ioctl is inside rtnl_lock...
Remember if you need to alter the rules, you can always queue work in
the current context, and have a kernel thread handle the work. The nice
thing about a kernel thread is that you start with a [almost] clean
state, when it comes to locks.
Jeff Garzik |
Building 1024 | Would you like a Twinkie?
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx