A bit more precisely, every fork syscall starts on a new free CPU. If
there are no new free CPUs, the call fails in the guest. Once the
thread ends, the CPU is freed and becomes available for new threads.
Also mentioned at:
https://cirosantilli.com/linux-kernel-module-cheat/#gem5-syscall-emulation-multithreading

On Fri, Feb 21, 2020 at 4:13 AM Shougang Yuan <syu...@ncsu.edu> wrote:
>
> Dear All,
>
> I am trying to find the code about cpu scheduler in SE mode about multi-core 
> simulation setup. I mean, when we configured several O3 cpus  and assigned a 
> program to each core, how are these cpus been scheduled? Can anyone provide 
> some details about this? Thanks.
>
> Best regards.
>
> Yuan
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to