pub fn spawn_on_core_with_stack( entry: fn(), priority: Priority, name: &'static str, target_core: usize, stack_size: usize, ) -> usize
スタックサイズを指定して特定のコアにカーネルスレッドを生成する(それ以外は spawn_on_core と同じ)。
spawn_on_core