[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: kmalloc within IRQ lock
Selon "Prokopenko, Konstantyn" <kproko@xxxxxxxxxxxx>:
> Well, in theory you can generate dead-lock cituation. kmalloc with
> GFP_KERNEL flag in low memory condition
> can put "current" user to sleep waiting for swap daemon to free pages. I
> think I don't need to explain further what could happen if you have IRQ lock
> around it.... It looks like a time bomb :)..
Is it the same for kfree?
Guillaume
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/