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

International regulations for electric conversion of combustion cars on the way
International regulations for electric conversion of combustion cars on the way
Software
Is Claude Mythos destroying IT security? Expert explains who benefits most from AI
Is Claude Mythos destroying IT security? Expert explains who benefits most from AI
Gadget
at this broken price Nintendo is selling it by pallet
at this broken price Nintendo is selling it by pallet
Mobile
AI hiring monoculture reinforces racial bias | Computer Week
AI hiring monoculture reinforces racial bias | Computer Week
News

You Might also Like

What to expect for the new Apple TV 4K and HomePod mini?
Computing

What to expect for the new Apple TV 4K and HomePod mini?

2 Min Read
Negative time is a physical reality, scientists prove it
Computing

Negative time is a physical reality, scientists prove it

5 Min Read
MIT has found the key to economical lithium extraction, the end of Chinese control?
Computing

MIT has found the key to economical lithium extraction, the end of Chinese control?

5 Min Read
the ultimate no-obligation offer for traveling this summer
Computing

the ultimate no-obligation offer for traveling this summer

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