linux/arch/ia64
Ken Chen 0393eed5c3 [IA64] fix nested_dtlb_miss handler for hugetlb address
The nested_dtlb_miss handler currently does not handle fault from
hugetlb address correctly.  It walks the page table assuming PAGE_SIZE.
Thus when taking a fault triggered from hugetlb address, it would not
calculate the pgd/pmd/pte address correctly and thus result an incorrect
invocation of ia64_do_page_fault().  In there, kernel will signal SIGBUS
and application dies (The faulting address is perfectly legal and we
have a valid pte for the corresponding user hugetlb address as well).
This patch fix the described kernel bug.  Since nested_dtlb_miss is a
rare event and a slow path anyway, I'm making the change without #ifdef
CONFIG_HUGETLB_PAGE for code readability.  Tony, please apply.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-06-21 14:40:31 -07:00
..
configs [IA64] Refresh tiger_defconfig 2005-06-21 14:16:00 -07:00
dig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp [IA64] use common pxm function 2005-05-03 13:33:18 -07:00
ia32 [IA64] fix compilation warning in sys32_epoll_wait() 2005-06-01 15:44:01 -07:00
kernel [IA64] fix nested_dtlb_miss handler for hugetlb address 2005-06-21 14:40:31 -07:00
lib [IA64] use fc.i for fluch_icache_range() 2005-05-03 11:27:33 -07:00
mm [IA64] Fill holes in FIXADDR_USER space with zero pages. 2005-06-08 10:58:21 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scripts Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn [IA64] fix setting of sn_hub_info->shub_1_1_found 2005-06-03 12:37:53 -07:00
defconfig [IA64] refresh arch/ia64/defconfig 2005-06-21 14:01:05 -07:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [IA64] enable SGI simulator for generic kernels 2005-06-21 14:17:43 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
module.lds Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00