RE: Unable to schedue bottom halve

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

 



Hi Srinivas,

 

Spinlocks aren’t a problem even in interrupt context.

 

I am not sure why you are getting in_interrupt to non-zero for work queues? In process context we should have in_interrupt returning 0.

 

Thanks,

Vishwas


From: srinivas bakki [mailto:srinivas.bakki@xxxxxxxxx]
Sent: Friday, September 23, 2005 2:57 PM
To: Vishwas Manral
Cc: Thomas Petazzoni; kernelnewbies@xxxxxxxxxxxx
Subject: Re: Unable to schedue bottom halve

 

 


However are you taking some semaphore/scheduling, while in_interrupt is true?

 

i checked this in_interrupt() in the handler i.e my work that is queued (bottom half) which ideally should not be any positive value since it is not running in interrupt context. however i see it returns a positive value.

 

ya i do take spinlock. it should not be a problem right since we have the context now !!! with work queues.

 

 

regards

Srinivas


 


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux