lkml.org 
[lkml]   [2003]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: FIXMAP-related change to mm/memory.c
Roland McGrath <roland@redhat.com> wrote:
>
> static struct vm_area_struct fixmap_vma = {
> /* Catch users - if there are any valid
> ones, we can make this be "&init_mm" or
> something. */
> .vm_mm = NULL,
> - .vm_start = FIXADDR_START,
> - .vm_end = FIXADDR_TOP,
> + .vm_start = FIXADDR_USER_START,
> + .vm_end = FIXADDR_USER_END,
> .vm_page_prot = PAGE_READONLY,
> .vm_flags = VM_READ | VM_EXEC,
> };

Note that the current version of this code does not compile for User Mode
Linux. Its FIXADDR_TOP is not a constant. It would be nice to fix that
this time around.

It appears that this patch will break x86_64, parisc and um.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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