Re:The Linux kernel can spawn processes on its own
by astrange on Saturday June 11, 2022 @11:14PM
(#31710990)
The reason it’s pushed down to make is the OS scheduler doesn’t know what gcc is.
make, of course, doesn’t know what gcc is either but at least it has a better chance of learning.
(The OS does know what resources current processes are using, but that doesn’t help because it doesn’t know what any future process will do. Designs like GCD solve this with priority levels, but that doesn’t help because all your make tasks are the same high priority.)
make, of course, doesn’t know what gcc is either but at least it has a better chance of learning.
(The OS does know what resources current processes are using, but that doesn’t help because it doesn’t know what any future process will do. Designs like GCD solve this with priority levels, but that doesn’t help because all your make tasks are the same high priority.)