From: Manfred Spraul <manfred@colorfullife.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
Alexander Viro <viro@math.psu.edu>
Subject: Re: 4GB+DEBUG_PAGEALLOC oopses with 2.6.0-test3-mm1
Date: Mon, 11 Aug 2003 18:05:37 +0200 [thread overview]
Message-ID: <3F37BED1.405@colorfullife.com> (raw)
In-Reply-To: <Pine.LNX.4.56.0308111723040.11173@localhost.localdomain>
Ingo Molnar wrote:
> Exactly that happens.
>
>>I'm running with CONFIG_PAGE_DEBUG, i.e. unallocated pages are marked as
>>non-present in the linear mapping.
>>
>>
>
>this is not a bug technically, unless the mount options are in the last
>linearly mapped page. It is a bug to copy those unallocated bytes, but
>they do not get to relied upon. Note that the non-4G code copies them just
>as much.
>
>
Or unless there are holes in the memory map, or unless pages were
unmapped from the kernel linear mapping for GART.
IMHO the currect code is unacceptable.
It is possible to use direct_copy_ instead of memcpy for fs==KERNEL_DS
in mm/usercopy.c?
--
Manfred
next prev parent reply other threads:[~2003-08-11 16:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-10 10:33 4GB+DEBUG_PAGEALLOC oopses with 2.6.0-test3-mm1 Manfred Spraul
2003-08-11 8:56 ` Ingo Molnar
2003-08-11 15:22 ` Manfred Spraul
2003-08-11 15:24 ` Ingo Molnar
2003-08-11 16:05 ` Manfred Spraul [this message]
2003-08-11 17:19 ` Ingo Molnar
2003-08-11 18:01 ` Manfred Spraul
2003-08-11 9:00 ` Ingo Molnar
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=3F37BED1.405@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=viro@math.psu.edu \
/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