Michael Zhu wrote: > Hi, I got a problem of loop-aes on a SMP machine. I > am trying to port the loop-aes to a DELL machine with > 4 CPUs. The system just hangs there when I use mke2fs > to format the loop device. It consumes nearly all the > CPU resource and never returns. The same loop-aes > works fine on machine with only 1 CPU. So what is the > problem? What version of loop-AES are you using? What kernel version? File backed or device backed loop? What is the size of loop device? If I have make a wild guess about your problem, my guess is that you have managed to compile the driver for kernel configuration that does not match your running kernel configuration. > Another thing is after I comment out the aes_encrypt() > and aes_decrypt() that means loop-aes without > encryption everything is OK. The aes_encrypt() and > aes_decrypt() support SMP? Maybe there is some problem > here. aes_encrypt() and aes_decrypt() are re-entrant and SMP safe. Regards, Jari Ruusu <jari.ruusu@pp.inet.fi> - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/