Re: [PATCH 2.4.23-pre8] Remove broken prefetching in free_one_pgd()

From: Pavel Machek
Date: Mon Oct 27 2003 - 04:55:52 EST


Hi!

> > > This code will prefetch from beyond the end of the page table
> > > being cleared ... which is clearly a bad thing if the page table
> > > in question is allocated from the last page of memory (or precedes
> > > a hole on a discontig mem system).
> > Prefetching random addresses should be safe...
>
> It isn't on some CPUs. Early athlons go bang when you prefetch
> past the end of RAM into unmapped memory for eg.

Well, broken HW :-(, but andi's patch should fix up for that.

Pavel

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/