>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? -Tony - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
