Re: 2.4.18 Preempt Freezeups

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 15 Mar 2002 14:28:36 +0000 (GMT)


> What is required for preempt beyond "SMP safe" code? I thought the whole
> idea was to make the preemptions transparent to other code by utilizing
> the SMP critical regions?

SMP safe code
Actual source code when recompiling modules
Reviewing things like driver code use of disable_irq by hand
Reviewing driver code for situations where it requires a small timing delay
and a large one is unacceptable
Checking anywhere you use the cpu id that you don't do somthing where it
might change under you (eg per cpu variables)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/