lkml.org 
[lkml]   [2003]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: FIXMAP-related change to mm/memory.c

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

Its a problem on ppc64 too. I want to put the signal trampolines into
a fixmap area above the stack, ie different places on 32bit and 64bit
executables.

Anton
-
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.035 / U:11.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site