[lkml]   [2003]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 4GB+DEBUG_PAGEALLOC oopses with 2.6.0-test3-mm1

On Mon, 11 Aug 2003, Manfred Spraul wrote:

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

IMHO the mount-options API is quite unclean - since when do we guarantee
-EFAULT semantics?

> It is possible to use direct_copy_ instead of memcpy for fs==KERNEL_DS
> in mm/usercopy.c?

yes. But i still think we should fix the API too.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.046 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site