From: Manfred Spraul <manfred@colorfullife.com>
To: Zwane Mwaikambo <zwane@linuxpower.ca>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
William Lee Irwin III <wli@holomorphy.com>
Subject: Re: Oops in __change_page_attr Re: (was 2.5.73-mm2)
Date: Sun, 29 Jun 2003 15:03:08 +0200 [thread overview]
Message-ID: <3EFEE38C.1070307@colorfullife.com> (raw)
In-Reply-To: <Pine.LNX.4.53.0306290830080.1878@montezuma.mastecende.com>
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
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
[-- Attachment #2: patch-dbg-4-unmap-fix --]
[-- Type: text/plain, Size: 418 bytes --]
--- 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.
*/
next prev parent reply other threads:[~2003-06-29 12:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-29 12:08 Zwane Mwaikambo
2003-06-29 12:30 ` Zwane Mwaikambo
2003-06-29 13:03 ` Manfred Spraul [this message]
2003-06-29 13:04 ` Zwane Mwaikambo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EFEE38C.1070307@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wli@holomorphy.com \
--cc=zwane@linuxpower.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®