"The min_granularity setting was renamed to base_slice in this commit in v6 kernel.

The comment says it scales with CPU count and the comment is incorrect. I wonder whether kernel developers are aware of that mistake as they are rewriting the scheduler!

  • Official comments in the code says it’s scaling with log2(1+cores) but it doesn’t.
  • All the comments in the code are incorrect.
  • Official documentation and man pages are incorrect.
  • Every blog article, stack overflow answer and guide ever published about the scheduler is incorrect."
    • subignition@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      8 months ago

      Context:
      https://en.wikipedia.org/wiki/Cf.

      The abbreviation cf. (short for either Latin confer or conferatur, both meaning ‘compare’)[1] is used in writing to refer the reader to other material to make a comparison with the topic being discussed. Style guides recommend that “cf.” be used only to suggest a comparison, and the words “see” or “vide” be used generally to point to a source of information.[2][3]