tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Kernel panic in "subr_xcall.c"

On Tue, Oct 20, 2009 at 10:48:46PM +0200, Jean-Yves Migeon wrote:
> Indeed; the only problem I found with this patch is that the function 
> will not be called by the bound xc_thread of the CPU, but rather 
> directly (different from a call to xc_lowpri() for a specific CPU).

Yes, indeed. But I couldn't think of way to avoid that in this situation.
I tried to make it as safe as possible by calling the function without
holding the mutex.

> If you think that pushing the solution deeper is cleaner, I am not 
> against it, on the contrary.

I would hope that it avoids problems like the one in "subr_pool.c"
in the future.

        Kind regards

Matthias Scheler                        

Home | Main Index | Thread Index | Old Index