RE: Unable to schedue bottom halve

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

 



Hi Srinivas,

 

If you are using spin_lock_bh/ spin_unlock_bh try doing spin_lock_irqsave and spin_unlock_irqrestore instead and see what happens?

 

Thanks,

Vishwas


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


hi,

   well i have boiled down to some issue like this :

 

in the bottom half i check for any received frames and then do the necessary processing on my local control block , later i check for if i have any frames to be transmitted.... all this is being done in bottom half.

 

here when i am processing for the receive frames the in_interrupt reports its not in the interrupt context, later when iam processing the transmit frames ... it says that iam in the interrupt context !!! Strange enough.

 

Anything iam missing ?

 

Thanks with 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