kernel-ark/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
hp
ia32
kernel [IA64] fix nested_dtlb_miss handler for hugetlb address 2005-06-21 14:40:31 -07:00
lib
mm
oprofile
pci
scripts
sn
defconfig
install.sh
Kconfig [IA64] enable SGI simulator for generic kernels 2005-06-21 14:17:43 -07:00
Kconfig.debug
Makefile
module.lds