RE: gate page oops

From: Luck, Tony <>
Date: 2005-04-23 06:52:39
>While working on the RHEL 4 kernel (based on 2.6.9), i encountered a BUG() 
>in mm/memory.c:get_user_pages() at the line: BUG_ON(pte_none(*pte));
>Seems like in_gate_area() returns true, but there is no pte to map the 
>page. That is, the in_gate_area() covers a larger range than what is 
>actually mapped. 
>I'm not sure if this is a problem in 2.6.11, as i didn't get a 
>chance to build and test a kernel based on 2.6.11. 

It looks like there is some muddle of usage of PAGE_SIZE
and PERCPU_PAGESIZE here (in the kernel code, not just in
you patch).  Perhaps left over from when the percpu area
was located at the start of region 5??

The gate page only needs to be PAGE_SIZE ... doesn't it?

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Apr 22 16:53:07 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST