From: David Mosberger-Tang Date: Wed, 4 May 2005 20:25:00 +0000 (-0700) Subject: [IA64] Speed up lfetch.fault [NULL] X-Git-Tag: v2.6.13-rc2~59^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=458f935527372499b714bf4f8e646a68bb0f52e3;p=pandora-kernel.git [IA64] Speed up lfetch.fault [NULL] This patch greatly speeds up the handling of lfetch.fault instructions which result in NaT consumption. Due to the NaT-page mapped at address 0, this is guaranteed to happen when lfetch.fault'ing a NULL pointer. With this patch in place, we can even define prefetch()/prefetchw() as lfetch.fault without significant performance degradation. More importantly, it allows compilers to be more aggressive with using lfetch.fault on pointers that might be NULL. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck --- Reading git-diff-tree failed