Skip to content

Commit 295351a

Browse files
committed
od: rs90: Set page size to 4k
This makes the OS and applications a lot more RAM efficient: 1. Reduces OS overhead by 3.5 MiB. 2. Reduces RAM usage of applications (amount varies). This comes at small performance cost, <1 FPS in the emulators and ports that I've tested. Measuring `MemAvailable` and `Slab` with just "Terminal" running: Before: MemAvailable: 9760 kB Slab: 6816 kB After: MemAvailable: 13812 kB Slab: 5904 kB DevilutionX now loads the dungeon (without audio) and the FPS is unchanged. Signed-off-by: Gleb Mazovetskiy <[email protected]>
1 parent 8940884 commit 295351a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

board/opendingux/rs90/linux_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CONFIG_PROFILING=y
2323
CONFIG_MACH_INGENIC_SOC=y
2424
CONFIG_JZ4740_RS90=y
2525
CONFIG_ZBOOT_LOAD_ADDRESS=0x81000000
26-
CONFIG_PAGE_SIZE_16KB=y
26+
CONFIG_PAGE_SIZE_4KB=y
2727
CONFIG_ARCH_FORCE_MAX_ORDER=7
2828
# CONFIG_MIPS_FP_SUPPORT is not set
2929
CONFIG_HZ_24=y

0 commit comments

Comments
 (0)