Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Sun, 29 Jun 2003 15:03:08 +0200 | From | Manfred Spraul <> | Subject | Re: Oops in __change_page_attr Re: (was 2.5.73-mm2) |
| |
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. */ | ![\](/images/icornerr.gif) |