HFI1: make kmalloc caches per-CPU and pre-allocate at boot time

This commit is contained in:
Balazs Gerofi
2017-10-25 13:19:08 +09:00
parent 33ad55e72b
commit 5bea237581
6 changed files with 37 additions and 14 deletions

View File

@ -360,6 +360,11 @@ static void post_init(void)
}
init_host_ikc2mckernel();
init_host_ikc2linux(ikc_cpu);
{
extern void hfi1_kmalloc_cache_prealloc(void);
hfi1_kmalloc_cache_prealloc();
}
}
arch_setup_vdso();