--- Lukas Ruf <ruf@maremma.ch> wrote: > > Dear all, > > am I right that vmalloc() should not be called while a kernel > module is > in in_irq() or in_softirq() ? > > My station crashes all the time :-) > > To be sure that I do not run in such a problem, I must use > kmalloc(,GFP_KERNEL) or kmalloc(, GFP_ATOMIC) ? Which one? > kmalloc(, GFP_ATOMIC). See Rubini & Corbet online at http://www.xml.com/ldd/chapter/book/ch07.html#t4 --Christine __________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/