On Thu, Apr 25, 2002 at 06:01:34PM +0200, Lukas Ruf wrote: > am I right that vmalloc() should not be called while a kernel module is > in in_irq() or in_softirq() ? This sounds familiar. :) > My station crashes all the time :-) I bet it does. :) > To be sure that I do not run in such a problem, I must use > kmalloc(,GFP_KERNEL) or kmalloc(, GFP_ATOMIC) ? Which one? GFP_ATOMIC. The chapter starting on page 208 of Linux Device Drivers, 2nd edition, describes the flags in wonderful detail. :) -- http://sardonix.org/
Attachment:
pgp00071.pgp
Description: PGP signature