By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.16-rc7 Bringing Fix For Possible Bogus/Miscalculated Load Averages
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.16-rc7 Bringing Fix For Possible Bogus/Miscalculated Load Averages
Computing

Linux 6.16-rc7 Bringing Fix For Possible Bogus/Miscalculated Load Averages

News Room
Last updated: 2025/07/20 at 3:15 PM
News Room Published 20 July 2025
Share
SHARE

Among the fixes merged today ahead of Linus Torvalds releasing the Linux 6.16-rc7 test kernel release is a lone patch on the “sched/urgent” side to fix possible bogus load average values. Reported system load averages within the kernel’s scheduler code could potentially be off going back to May of 2021.

The sched/urgent pull request sent out earlier today explains:

“A single fix for the scheduler. A recent commit changed the runqueue counter nr_uninterruptible to an unsigned int. Due to the fact that the counters are not updated on migration of a uninterruptble task to a different CPU, these counters can exceed INT_MAX. The counter is cast to long in the load average calculation, which means that the cast expands into negative space resulting in bogus load average values. Convert it back to unsigned long to fix this.”

The “recent” commit that introduced this potential bogus load average value reporting was this commit back in 2021 for the Linux 5.14 kernel.

Oracle’s Aruna Ramakrishna tracked down this issue and further commented on the patch:

“The commit e6fe3f422be1 (“sched: Make multiple runqueue task counters 32-bit”) changed nr_uninterruptible to an unsigned int. But the nr_uninterruptible values for each of the CPU runqueues can grow to large numbers, sometimes exceeding INT_MAX. This is valid, if, over time, a large number of tasks are migrated off of one CPU after going into an uninterruptible state. Only the sum of all nr_interruptible values across all CPUs yields the correct result, as explained in a comment in kernel/sched/loadavg.c.

Change the type of nr_uninterruptible back to unsigned long to prevent overflows, and thus the miscalculation of load average.”

After merging the code, Linus Torvalds took to commenting and questioning why the code is using an unsigned value in the first place.

GNOME System Monitor

That fix of changing an unsigned int to an unsigned long and a cast from an int to a long is now merged for Linux 6.16-rc7. In turn this should also be back-ported in the coming days to supported Linux LTS/stable kernels of the past four years.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article AI Coding Tools Underperform in Field Study with Experienced Developers
Next Article Forget Prime Day — You can still save on these 21 running shoe deals on Brooks, Skechers, Asics and more at Amazon
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

This mind-bending movie on Tubi blew my mind — hurry up and stream it now before it leaves
News
Best Internet Providers in Raleigh, North Carolina
News
Sounds Like a Steal: The Apple AirPods 4 Are Now 33% Off
News
This powerful robot vacuum just dropped to an all-time low price — get the Shark AV2501AE for under $300
News

You Might also Like

Computing

Free Action Plan Templates to Organize Goals and Track Progress

34 Min Read
Computing

Free Roofing Proposal Templates to Create Estimates & Bids

33 Min Read
Computing

Free Food Truck Business Plan Templates to Launch & Grow

30 Min Read
Computing

Your One-Stop Guide to All the Type Promotion Changes in TensorFlow 2.15 | HackerNoon

11 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?