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

Security Basics for AI-Generated Websites: How to Build Safely with AI on WordPress
Security Basics for AI-Generated Websites: How to Build Safely with AI on WordPress
Computing
Best LG deal: Save 0 on the LG 27-inch Ultragear QHD OLED gaming monitor
Best LG deal: Save $250 on the LG 27-inch Ultragear QHD OLED gaming monitor
News
‘Seeking connection’: the video game where players stopped shooting and started talking
‘Seeking connection’: the video game where players stopped shooting and started talking
News
Deterministic + Agentic AI: The Architecture Exposure Validation Requires
Deterministic + Agentic AI: The Architecture Exposure Validation Requires
Computing

You Might also Like

Security Basics for AI-Generated Websites: How to Build Safely with AI on WordPress
Computing

Security Basics for AI-Generated Websites: How to Build Safely with AI on WordPress

12 Min Read
Deterministic + Agentic AI: The Architecture Exposure Validation Requires
Computing

Deterministic + Agentic AI: The Architecture Exposure Validation Requires

7 Min Read
exFAT For Linux 7.1 Helps Reduce File Fragmentation, Fixes
Computing

exFAT For Linux 7.1 Helps Reduce File Fragmentation, Fixes

2 Min Read
US regulator issues preliminary ruling in GoPro’s patent case against Insta360, final ruling due in November · TechNode
Computing

US regulator issues preliminary ruling in GoPro’s patent case against Insta360, final ruling due in November · TechNode

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