Re: 2.4.18 Preempt Freezeups

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 17 Mar 2002 03:31:24 +0000 (GMT)


> > Reviewing driver code for situations where it requires a small timing delay
> > and a large one is unacceptable
>
> Has anyone found one of those yet?

There are some frame buffers with that requirement. The stuff I've looked
at where the are such timing rules already disables interrupts.

(The other classic btw is older PIO IDE setups)

> > Checking anywhere you use the cpu id that you don't do somthing where it
> > might change under you (eg per cpu variables)
>
> Is per-cpu data the whole list there?

Think about profiling registers, mtrrs, msrs, and so forth. For example
if we had thread handling MCE traps we would hit a problem. As it happens
MCE is an interrupt so its all nice.

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