Thread (7 messages) 7 messages, 4 authors, 2011-09-06

Regarding threaded irq and normal irq

From: Mulyadi Santosa <hidden>
Date: 2011-09-06 05:21:30

Hi :)

On 06/09/2011, sandeep kumar [off-list ref] wrote:
Hmm..But when i tried to take a mutex lock in threaded_irq, it is throwing a
warning message
"BUG: sleeping function called from invalid context"... So i was wondering
which way it is..
Please don't top post :)

Anyway, regarding that "BUG:" message, could it be that mutex function
mistakenly assume it's called inside top half, thus bails out since
sleeping is forbidden there? which mutex function do you use? (sorry I
don't follow every locking functions exist now)

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help