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

From: David Mosberger
Date: Fri Oct 24 2003 - 17:02:33 EST


>>>>> On Fri, 24 Oct 2003 13:56:31 -0700, "Luck, Tony" <tony.luck@xxxxxxxxx> said:

Tony> This patch was accepted into 2.5.55, attributed to "davej@uk".
Tony> This code will prefetch from beyond the end of the page table
Tony> being cleared ... which is clearly a bad thing if the page
Tony> table in question is allocated from the last page of memory
Tony> (or precedes a hole on a discontig mem system).

Different arches behave differently, though. In the case of ia64,
it'a always safe to prefetch (even with lfetch.fault).

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