D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Tasklets

 

On Sunday 17 April 2005 22:59, John Daragon wrote:
Robin Cornelius wrote:


BIG Snip...

BIGGER SNIP..

So tasklet_schedule() *is* being called.  And I presume there's no other 
invocation of tasklet_disable() anywhere so that the disable count is 
zero at this stage...

Actually, what I'm trying to say is : "Is

(0 == adapter->rx_tasklet.count)

at this juncture ?"

tasklet_schedule just puts it on the head of the per-cpu tasklet list, 
so if it's called (which it seems to be from your direct call mod...) 
then this *must* work,

I wonder if there is an imblance in enables() and disables(), i did not know 
it was an enable count! i though it was a boolean, if is one extra disable 
then I can never win so nothing happens, this could explain a lot. I will 
print the value of count to check,

Thanks for giving me a direction to consider I was getting rather stuck.


-- 
Robin Cornelius
---------------------------------------------------
robin@xxxxxxxxxxxxxxxxxxxxx
http://www.cornelius.demon.co.uk
http://sourceforge.net/projects/rt2400
GPG Key ID: 0x729A79A23B7EE764
http://www.biglumber.com/x/web?qs=0x729A79A23B7EE764

Attachment: pgp00016.pgp
Description: PGP signature