Re: 2.4.18 Preempt Freezeups

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Mar 15 2002 - 09:28:36 EST


> 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/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:20 EST