Re: Oops in __change_page_attr Re: (was 2.5.73-mm2)

From: Manfred Spraul (manfred@colorfullife.com)
Date: Sun Jun 29 2003 - 08:03:08 EST


Could you try the attached patch?
The code tries to map/unmap highmem pages on the fly, and that fails,
because highmem pages are never mapped.

--
    Manfred

--- 2.5/arch/i386/mm/pageattr.c 2003-06-29 14:45:19.000000000 +0200 +++ build-2.5/arch/i386/mm/pageattr.c 2003-06-29 14:58:11.000000000 +0200 @@ -197,6 +197,8 @@ #ifdef CONFIG_DEBUG_PAGEALLOC void kernel_map_pages(struct page *page, int numpages, int enable) { + if (page >= highmem_start_page) + return; /* the return value is ignored - the calls cannot fail, * large pages are disabled at boot time. */

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:30 EST