DragonFly users List (threaded) for 2006-11
DragonFly BSD
DragonFly users List (threaded) for 2006-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: "Scheduling while atomic"


From: Erik Wikström <erik-wikstrom@xxxxxxxxx>
Date: Sun, 19 Nov 2006 20:24:34 +0100

On 2006-11-19 18:47, walt wrote:
I find that asking a basic/dumb question of a smart group of people
is often a very quick path to enlightenment :o)

I've seen the 'scheduling while atomic' panic message a few times
from the linux kernel over the years, and now I'm wondering if there
is an analogous panic in the BSD kernels, DF in particular.

If so, what would trigger such an event?

I'm certainly not one of the smart people but I do believe (from the name) that such a panic would occur if trying to call the scheduler while performing an atomic operation (being inside a critical section). The reason that this causes a panic would be that scheduling is not a quick operation (not atomic-quick anyway).
As to whether this can happen in DF or not I don't know, but it sure sound like something that should panic the kernel. If there is code that will cause such a panic is another question.


--
Erik Wikström



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