kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* There is "softlockup_tick()" function in the source code of linux-2.6.32, but what's the corresponding function name in the linux-4.9 or later?
@ 2020-07-05  7:34 孙世龙 sunshilong
  2020-07-05 18:58 ` Valdis Klētnieks
  0 siblings, 1 reply; 3+ messages in thread
From: 孙世龙 sunshilong @ 2020-07-05  7:34 UTC (permalink / raw)
  To: kernelnewbies

Hi, list

There is "softlockup_tick()" function in the source code of
linux-2.6.32(refer to
https://elixir.bootlin.com/linux/v2.6.32.39/source/kernel/softlockup.c#L104),
but what's the corresponding function in the linux-4.9 or later?
There is not even a source code file named by softlockup.c in the
linux-4.9 or later?

Thank you for your attention to this matter.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: There is "softlockup_tick()" function in the source code of linux-2.6.32, but what's the corresponding function name in the linux-4.9 or later?
  2020-07-05  7:34 There is "softlockup_tick()" function in the source code of linux-2.6.32, but what's the corresponding function name in the linux-4.9 or later? 孙世龙 sunshilong
@ 2020-07-05 18:58 ` Valdis Klētnieks
  2020-07-06  2:22   ` 孙世龙 sunshilong
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis Klētnieks @ 2020-07-05 18:58 UTC (permalink / raw)
  To: e- d8 i> sunshilong; +Cc: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 1806 bytes --]

On Sun, 05 Jul 2020 15:34:32 +0800, "e- d8 i> sunshilong" said:

> There is "softlockup_tick()" function in the source code of
> linux-2.6.32(refer to
> https://elixir.bootlin.com/linux/v2.6.32.39/source/kernel/softlockup.c#L104),
> but what's the corresponding function in the linux-4.9 or later?
> There is not even a source code file named by softlockup.c in the
> linux-4.9 or later?

2.6.32 was a *long* time ago. Heck, even the BKL was still around at that point.

[/usr/src/linux-next] git show v2.6.32
tag v2.6.32
Tagger: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Dec 2 19:51:29 2009 -0800

and there were a *lot* of code changes from then until v4.9.

[/usr/src/linux-next] git diff --shortstat v2.6.32..v4.9
 59438 files changed, 14713566 insertions(+), 4896973 deletions(-)

Even v4.9 is from long ago and far away, and of less and less relevance
each new Linux release.

[/usr/src/linux-next] git diff --shortstat v4.9..HEAD
 73256 files changed, 11345968 insertions(+), 4464267 deletions(-)

So.. since 2.6.32. there's been some 26 million new lines of code, which is an
interestingly high number considering that there's only 27 million lines of
code in the tree currently.

In other words, essentially *everything* has been completely re-written and
re-designed since 2.6.32, and "What is the corresponding function" is a
question that is probably meaningless, because whatever you're looking for from
back then has almost certainly been completely re-written with a totally new
approach.

Seriously - 2.6.32 is of interest only to software archaeologists. There is
nothing worth looking at in there that's relevant to today's code.

But to answer your question: the entire kernel.softlockup.c file was removed in
v2.6.36 because it had been replaced by entirely new code.


[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: There is "softlockup_tick()" function in the source code of linux-2.6.32, but what's the corresponding function name in the linux-4.9 or later?
  2020-07-05 18:58 ` Valdis Klētnieks
@ 2020-07-06  2:22   ` 孙世龙 sunshilong
  0 siblings, 0 replies; 3+ messages in thread
From: 孙世龙 sunshilong @ 2020-07-06  2:22 UTC (permalink / raw)
  To: Valdis Klētnieks; +Cc: kernelnewbies

Thank you for the clarification.
I have a better understanding of this matter with help.

Valdis Klētnieks <valdis.kletnieks@vt.edu> 于2020年7月6日周一 上午2:58写道:
>
> On Sun, 05 Jul 2020 15:34:32 +0800, "e- d8 i> sunshilong" said:
>
> > There is "softlockup_tick()" function in the source code of
> > linux-2.6.32(refer to
> > https://elixir.bootlin.com/linux/v2.6.32.39/source/kernel/softlockup.c#L104),
> > but what's the corresponding function in the linux-4.9 or later?
> > There is not even a source code file named by softlockup.c in the
> > linux-4.9 or later?
>
> 2.6.32 was a *long* time ago. Heck, even the BKL was still around at that point.
>
> [/usr/src/linux-next] git show v2.6.32
> tag v2.6.32
> Tagger: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Wed Dec 2 19:51:29 2009 -0800
>
> and there were a *lot* of code changes from then until v4.9.
>
> [/usr/src/linux-next] git diff --shortstat v2.6.32..v4.9
>  59438 files changed, 14713566 insertions(+), 4896973 deletions(-)
>
> Even v4.9 is from long ago and far away, and of less and less relevance
> each new Linux release.
>
> [/usr/src/linux-next] git diff --shortstat v4.9..HEAD
>  73256 files changed, 11345968 insertions(+), 4464267 deletions(-)
>
> So.. since 2.6.32. there's been some 26 million new lines of code, which is an
> interestingly high number considering that there's only 27 million lines of
> code in the tree currently.
>
> In other words, essentially *everything* has been completely re-written and
> re-designed since 2.6.32, and "What is the corresponding function" is a
> question that is probably meaningless, because whatever you're looking for from
> back then has almost certainly been completely re-written with a totally new
> approach.
>
> Seriously - 2.6.32 is of interest only to software archaeologists. There is
> nothing worth looking at in there that's relevant to today's code.
>
> But to answer your question: the entire kernel.softlockup.c file was removed in
> v2.6.36 because it had been replaced by entirely new code.
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-06  2:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05  7:34 There is "softlockup_tick()" function in the source code of linux-2.6.32, but what's the corresponding function name in the linux-4.9 or later? 孙世龙 sunshilong
2020-07-05 18:58 ` Valdis Klētnieks
2020-07-06  2:22   ` 孙世龙 sunshilong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).