Re: when/how is the schedule() function actually called?

"Valdis Klētnieks" <[email protected]>
Newsgroups org.kernelnewbies.kernelnewbies
Message-ID <115587.1702057496@turing-police>
On Sat, 09 Dec 2023 00:16:32 +0800, Dawei Li said:
> Greetings!

> (Although I am using the 2.6.34 version, I believe the question is generally
> applicable to any kernel version.)

That is, in general, a bad assumption when you are looking at kernel versions
old enough that they count as digital archaeology....

[/usr/src/linux-next] git show v2.6.34
tag v2.6.34
Tagger: Linus Torvalds <[email protected]>
Date:   Sun May 16 14:17:44 2010 -0700
[/usr/src/linux-next] git diff --shortstat  v2.6.34..next-20231205
 96965 files changed, 32056985 insertions(+), 7606202 deletions(-)

Given that next-20231205 has just over 33 million lines of code, we're well
into territory where there's a vanishing small percentage of code still
remaining unchanged from 2010.

And yes, that means that even basic functions schedule() and friends have been
reworked in he past decade and a half....


_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.