GEOM_AES using malloc with M_WAITOK
marius.nuennerich at gmx.net
Fri Dec 29 15:05:45 PST 2006
I'm new to geom and thought I'd take an easy class to learn. So I read
geom_aes.c and noticed that it uses the M_WAITOK flag with g_malloc. In
another place I read, that it is not OK to sleep in the g_up and g_down
threads. Isn't this g_malloc called in one of these threads?
Yes, I know that geom_aes is more for educational purpose. But then it
should be right even more.
More information about the freebsd-geom