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: RISC-V Optimized strnlen Implementation For Linux 7.1 Yields Big Speed-Up
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 > RISC-V Optimized strnlen Implementation For Linux 7.1 Yields Big Speed-Up
Computing

RISC-V Optimized strnlen Implementation For Linux 7.1 Yields Big Speed-Up

News Room
Last updated: 2026/04/09 at 12:12 PM
News Room Published 9 April 2026
Share
RISC-V Optimized strnlen Implementation For Linux 7.1 Yields Big Speed-Up
SHARE

In addition to RISC-V discontinuing its eXecute In Place “XIP” kernel support for Linux 7.1, there is an optimized strnlen() function coming for Linux 7.1 on RISC-V as well as some other optimized functions.

Feng Jiang with KylinOS wrote a hand-optimized strnlen() implementation for RISC-V with both a generic code path and Zbb-powered version. The strnlen() function used throughout the kernel for safely determining the length of a string is seeing a massive speed-up as a result of the hand-optimized RISC-V Assembly code.

RISC-V strnlen benchmark

Benchmarks are showing as much as a +427.5% improvement with the RISC-V optimized strnlen function appearing at long last.

The strnlen optimization patch is queued into the RISC-V’s “for-next” Git branch ahead of the Linux 7.1 merge window opening next week.

There is also a RISC-V optimized strchr() function too for up to a 7% improvement for finding the first occurence of the character in a string. And the optimized strrchr() for the reverse searching yielding up to a 8% improvement from that hand-written RISC-V Assembly for the Linux kernel.

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 New Motorola Razr leaks showcase a familiar-looking foldable in new colours New Motorola Razr leaks showcase a familiar-looking foldable in new colours
Next Article Now Brief in One UI 9 may better prepare you for the week’s weather Now Brief in One UI 9 may better prepare you for the week’s weather
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

Microsoft is making Windows 11 an AI operating system
Microsoft is making Windows 11 an AI operating system
News
traces of complex organic matter discovered
traces of complex organic matter discovered
Computing
Why Big Tech companies are opening up their AI models – an interview
Why Big Tech companies are opening up their AI models – an interview
Software
The Government extends fuel aid, but will progressively eliminate it
The Government extends fuel aid, but will progressively eliminate it
Gaming

You Might also Like

traces of complex organic matter discovered
Computing

traces of complex organic matter discovered

5 Min Read
the Canadian Megafactory 1 which transforms waste into gold
Computing

the Canadian Megafactory 1 which transforms waste into gold

4 Min Read
Limb regeneration in humans may no longer be a myth
Computing

Limb regeneration in humans may no longer be a myth

3 Min Read
The Netherlands is banking on a rust-proof gigabattery to store energy
Computing

The Netherlands is banking on a rust-proof gigabattery to store energy

5 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?