From: Dave A. <ai...@us...> - 2001-06-10 22:40:12
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax In directory usw-pr-cvs1:/tmp/cvs-serv31544 Modified Files: processor.h Log Message: DA: make the MMAP space for a process start up a 32MB point.. as per Documentation/vax/process.txt, I'm also happy that the initial memory map should be what is contained herein ... Index: processor.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/processor.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- processor.h 2001/02/05 00:01:24 1.7 +++ processor.h 2001/06/10 22:40:09 1.8 @@ -33,9 +33,11 @@ /* This decides where the kernel will search for a free chunk of vm * * space during mmap's. * */ -#define TASK_UNMAPPED_BASE (TASK_SIZE / 3) +/*#define TASK_UNMAPPED_BASE (TASK_SIZE / 3)*/ +/* Put the MMAP base at 32MB into the process memory space... + we currently allocate 48MB per process */ +#define TASK_UNMAPPED_BASE (32*1024*1024) - /* from alpha port */ typedef struct { @@ -65,8 +67,10 @@ * #define INIT_MMAP { &init_mm, PAGE_OFFSET, PAGE_OFFSET+0x10000000, \ * PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, NULL, &init_mm.mmap } */ -#define INIT_MMAP { &init_mm, 0, 0, NULL, \ - PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } +#define INIT_MMAP { &init_mm, PAGE_OFFSET, PAGE_OFFSET+0x10000000, NULL, \ + PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } +/*#define INIT_MMAP { &init_mm, 0, 0x10000000, NULL, \ + PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL }*/ #include <asm/ptrace.h> |