lkml.org 
[lkml]   [2005]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Use MM_VM_SIZE in exit_mmap
Anton Blanchard wrote:

> As an aside, all architectures except one define FIRST_USER_PGD_NR as 0:
>
> include/asm-arm26/pgtable.h:#define FIRST_USER_PGD_NR 1

All processes on arm26 must map the same page 0 as its where the SWI
vector table goes. The vector table is located at address 0, and as such
becomes virtual address space once the MMU is switched on. This is
unavoidable, unlike later ARMs which can remap it elsewhere.

The only way this could work is if you do the zeroing with all
interrupts off and restore page 0 afterwards, which seems rather silly
to me.
-
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 14:09    [W:0.093 / U:1.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site