Hi Stefan, > Application hangs after a while defunct and dmesg output looks like > d.txt. (See attached file: d.txt)
Looks like this is caused by doing the mmput() while the state mutex is held in spu_forget. In your case, the mm is the final reference to the context, so this is resulting in a destroy_spu_context, which requires the state mutex :) I'm going to take a look at the sequencing of spu_forget, but would like to write a test case. Could you tell us about the exit path of your program? Cheers, Jeremy _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev