3 ms·
Its just a smart ass comment with no real value. Yes the Linux scheduler doesn't differentiate between threads and processes(see NPTL vs LWP) However I was po
by bogomipz 10y ago
Its just a smart ass comment with no real value.
Yes the Linux scheduler doesn't differentiate between threads and processes(see NPTL vs LWP) However I was pointing out that although the kernels just schedules "tasks" instead of threads and processes it is far more efficient to schedule threads than processes on some processors - example pre-ARMv6 didn't use address space tags on its TLB so a context switch to a different process required the whole whole TLB to be flushed which means the kernel will need to walk the page table to get the translations for the physical pages for the newly scheduled process.