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

Manfred Spraul (manfred@colorfullife.com)
Sun, 29 Jun 2003 15:03:08 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-10519-1056891851-0001-2
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

--=_courier-10519-1056891851-0001-2 Content-Type: text/plain; name=patch-dbg-4-unmap-fix; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-dbg-4-unmap-fix"

--- 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. */

--=_courier-10519-1056891851-0001-2--