Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm
In directory usw-pr-cvs1:/tmp/cvs-serv507
Modified Files:
pgalloc.h task.h
Log Message:
New task sizes for gcc. Cleanups for pgalloc.c in pgalloc.h
Index: pgalloc.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm/pgalloc.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- pgalloc.h 2001/09/01 12:22:46 1.12
+++ pgalloc.h 2001/09/02 20:52:51 1.13
@@ -106,7 +106,7 @@
extern pmd_t *pmd_alloc_kernel(pgd_t *pgd, unsigned long address);
extern void pmd_free_kernel(pmd_t *pmd);
extern void pte_free(pte_t *pte);
-extern unsigned long get_pageaddr_from_pte(pte_t *ptep);
+extern pte_t *get_pageaddr_from_pte(pte_t *ptep);
extern void free_pte_slow(pte_t *pte);
extern pte_t *get_pte_slow(void);
Index: task.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm/task.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- task.h 2001/09/01 12:22:46 1.3
+++ task.h 2001/09/02 20:52:51 1.4
@@ -16,19 +16,19 @@
/* TASK_WSMAX must not be larger than 768MB. In the unlikely event that
* you really want to allocate that much to a process, change PGD_SPECIAL below */
-/* TASK_TXTMAX is the maximum program size, including shared libs */
+/* TASK_TXTMAX is the maximum program size */
#define TASK_TXTMAX (16*1024*1024)
/* TASK_MMAPMAX is the max space in P0 for the mmap() function ,
contiguous with TASK_TXTMAX - Its basically the amount of memory you
give a process to play with */
-#define TASK_MMAPMAX (24*1024*1024)
+#define TASK_MMAPMAX (64*1024*1024)
/* TASK_STKMAX is the max space for the stack in P1 */
/* Like WSMAX above, the upper limit for this is set by PGD_SPECIAL below. If this
* is above 256MB change PGD_SPECIAL
*/
-#define TASK_STKMAX (16*1024*1024)
+#define TASK_STKMAX (4*1024*1024)
#define TASK_WSMAX (TASK_TXTMAX+TASK_MMAPMAX)
|