lkml.org 
[lkml]   [2003]   [Jun]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 15 Jun 2003 16:51:02 +1000
FromAnton Blanchard <>
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    [from the cache]
©2003-2008