Thread (32 messages) 32 messages, 4 authors, 2010-07-28

Re: [PATCH 3/9] IR: replace spinlock with mutex.

From: Mauro Carvalho Chehab <hidden>
Date: 2010-07-28 16:02:56
Also in: linux-media

Em 28-07-2010 12:14, Maxim Levitsky escreveu:
Some handlers (lirc for example) allocates memory on initialization,
doing so in atomic context is cumbersome.
Fixes warning about sleeping function in atomic context.
You should not replace it by a mutex, as the decoding code may happen during
IRQ time on several drivers.

If lirc is allocating memory, it should be using GFP_ATOMIC to avoid sleeping.

Cheers,
Mauro
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help