Our application may run on a variety of architectures all on a ramfs machine. It needs to set core isolation and affinity for extremely fast processing. Depending on the architecture, it may need to be pinned to a hyperthread on numa 0 or numa 1. We cannot make assumptions until the machine boots.
Because of this variety, we cannot set isolation parameters in grub. Rebooting after configuring grub will not help either, as this is a ramfs machine.
How can we taskset all userland processes spawned by systemd during boot? I know I can taskset systemd itself when it is invoked, but I cannot find where that happens.