|
|
Log in / Subscribe / Register

Core scheduling lands in 5.14

Core scheduling lands in 5.14

Posted Jul 2, 2021 10:15 UTC (Fri) by roc (subscriber, #30627)
Parent article: Core scheduling lands in 5.14

Normally in Linux the word "process" means, technically, "thread group". So it's not clear to me what PIDTYPE_PID actually does. Is it actually setting the cookie for the current task a.k.a. thread?


to post comments

Core scheduling lands in 5.14

Posted Jul 6, 2021 4:20 UTC (Tue) by ncm (guest, #165) [Link]

Usually, looking out from the kernel, a thread is a process is a thread, just with varying degrees of memory-map sharing. Thread groups as processes is largely a user-space notion; and those processes collected into cgroups is another. It is easy to see why the kernel prefers to avoid the issue, and try to treat them all as an undifferentiated pile of threads, wherever it can get away with that.

Scheduling, though, is a place where it often can't, because users want what they think of as fairness.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds