]> err.no Git - linux-2.6/commit
[IA64] Speed up lfetch.fault [NULL]
authorDavid Mosberger-Tang <davidm@hpl.hp.com>
Wed, 4 May 2005 20:25:00 +0000 (13:25 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 28 Jun 2005 16:28:16 +0000 (09:28 -0700)
commit458f935527372499b714bf4f8e646a68bb0f52e3
treebab3265d60b3c7c3f898eeefa6c9dac264d41195
parente15da40176f16050c8d92b36387a49370317e276
[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 <davidm@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/ivt.S