Re: [patch] voluntary-preempt-2.6.9-rc1-bk4-Q5

Ingo Molnar
2004-08-31T19:56:14Z

* Lee Revell <rlrevell@joe-job.com> wrote:

> Commented out all calls to wbinvd(), seems to work fine. I even tried
> repeatedly killing the X server before it could finish starting, no
> problems at all.
>
> I guess the worst that could happen here would be display corruption,
> which would get fixed on the next refresh?

it's more complex than that - MTRR's are caching attributes that the CPU
listens to. Mis-setting them can cause anything from memory corruption
to hard lockups. The question is, does any of the Intel (or AMD) docs
say that the CPU cache has to be write-back flushed when setting MTRRs,
or were those calls only done out of paranoia?

Ingo