aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2011-02-28 16:01:09 -0500
committerChris Metcalf <cmetcalf@tilera.com>2011-03-10 13:17:44 -0500
commit09c17eab075ceeafb53935d858c575b6776394d1 (patch)
treeb455f5a2b7ce41a2ac3f0ebaadc525144deac5fa
parent5fb682b0644cd20015d9b0e3ca6921ad5533f4ba (diff)
arch/tile: add some more VMSPLIT options and use consistent naming
This renames 3G_OPT to 2_75G, and adds 2_5G and 2_25G. For memory-intensive applications that are also network-buffer intensive it can be helpful to be able to tune the virtual address of the start of kernel memory. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
-rw-r--r--arch/tile/Kconfig12
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index 92f7ea070b62..eed0fc5dfe67 100644
--- a/arch/tile/Kconfig
+++ b/arch/tile/Kconfig
@@ -234,8 +234,12 @@ choice
234 bool "3.5G/0.5G user/kernel split" 234 bool "3.5G/0.5G user/kernel split"
235 config VMSPLIT_3G 235 config VMSPLIT_3G
236 bool "3G/1G user/kernel split" 236 bool "3G/1G user/kernel split"
237 config VMSPLIT_3G_OPT 237 config VMSPLIT_2_75G
238 bool "3G/1G user/kernel split (for full 1G low memory)" 238 bool "2.75G/1.25G user/kernel split (for full 1G low memory)"
239 config VMSPLIT_2_5G
240 bool "2.5G/1.5G user/kernel split"
241 config VMSPLIT_2_25G
242 bool "2.25G/1.75G user/kernel split"
239 config VMSPLIT_2G 243 config VMSPLIT_2G
240 bool "2G/2G user/kernel split" 244 bool "2G/2G user/kernel split"
241 config VMSPLIT_1G 245 config VMSPLIT_1G
@@ -246,7 +250,9 @@ config PAGE_OFFSET
246 hex 250 hex
247 default 0xF0000000 if VMSPLIT_3_75G 251 default 0xF0000000 if VMSPLIT_3_75G
248 default 0xE0000000 if VMSPLIT_3_5G 252 default 0xE0000000 if VMSPLIT_3_5G
249 default 0xB0000000 if VMSPLIT_3G_OPT 253 default 0xB0000000 if VMSPLIT_2_75G
254 default 0xA0000000 if VMSPLIT_2_5G
255 default 0x90000000 if VMSPLIT_2_25G
250 default 0x80000000 if VMSPLIT_2G 256 default 0x80000000 if VMSPLIT_2G
251 default 0x40000000 if VMSPLIT_1G 257 default 0x40000000 if VMSPLIT_1G
252 default 0xC0000000 258 default 0xC0000000