diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-06-30 01:10:18 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-06-30 01:10:18 +0000 |
commit | 3cb876e21a88145ec06fc1420736b9fc8d492d3f (patch) | |
tree | 3069f66713d5a40cfafe94134e302b94e30dbde4 /arch/mips64/mm/fault.c | |
parent | 72d92cedc30af23d855fec53b04d9266d88c6671 (diff) |
Check in an unmistakable warning for now when tlb invalid faults happen
on vmalloc range. When we hit it, it will be fairly easy to fix and test
the fix works.
Diffstat (limited to 'arch/mips64/mm/fault.c')
-rw-r--r-- | arch/mips64/mm/fault.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips64/mm/fault.c b/arch/mips64/mm/fault.c index 01ed01f79..58cd14331 100644 --- a/arch/mips64/mm/fault.c +++ b/arch/mips64/mm/fault.c @@ -134,6 +134,13 @@ good_area: bad_area: up(&mm->mmap_sem); + /* + * Quickly check for vmalloc range faults. + */ + if ((!vma) && (address >= VMALLOC_START) && (address < VMALLOC_END)) { + printk("Fix vmalloc invalidate fault\n"); + while(1); + } if (user_mode(regs)) { struct siginfo si; tsk->thread.cp0_badvaddr = address; |