move graphics server to the resident set

this improves responsivitiy quite a bit
This commit is contained in:
bunnie 2024-05-31 20:45:07 +08:00
parent 73b075716b
commit 17a3ed6adb

View file

@ -490,10 +490,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// placement in flash is a tension between dev convenience and RAM usage. Things in flash
// are resident, non-swapable, but end up making the slow kernel burn process take longer.
let cramium_flash_pkgs =
["xous-ticktimer", "xous-log", "cram-hal-service", "xous-names"].to_vec();
["xous-ticktimer", "xous-log", "cram-hal-service", "xous-names", "graphics-server"].to_vec();
let cramium_swap_pkgs =
["graphics-server", "gam", "modals", "ime-plugin-shell", "ime-frontend", "cram-console"]
.to_vec();
["gam", "modals", "ime-plugin-shell", "ime-frontend", "cram-console"].to_vec();
if !builder.is_swap_set() {
builder.set_swap(0, 4 * 1024 * 1024);
}