Explorar el Código

[POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable

All ppc32 systems except PReP and 8xx are capable of handling 3G of user
address space.  Old legacy had set this to 2GB and no one has bothered to
fix it.

8xx could be bumped up to 3GB if its SW TLB miss handlers were fixed up
to properly determine kernel/user addresses.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala hace 17 años
padre
commit
4d9e55103a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      arch/powerpc/Kconfig

+ 2 - 1
arch/powerpc/Kconfig

@@ -599,7 +599,8 @@ config TASK_SIZE_BOOL
 
 
 config TASK_SIZE
 config TASK_SIZE
 	hex "Size of user task space" if TASK_SIZE_BOOL
 	hex "Size of user task space" if TASK_SIZE_BOOL
-	default "0x80000000"
+	default "0x80000000" if PPC_PREP || PPC_8xx
+	default "0xc0000000"
 
 
 config CONSISTENT_START_BOOL
 config CONSISTENT_START_BOOL
 	bool "Set custom consistent memory pool address"
 	bool "Set custom consistent memory pool address"