[Cbe-oss-dev] 2.6.26-rc6 kernel bug on PS3?

Jeremy Kerr jk at ozlabs.org
Thu Jun 26 10:46:16 EST 2008


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



More information about the Linuxppc-dev mailing list