this post was submitted on 06 Jul 2023
51 points (98.1% liked)

Linux

48137 readers
432 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 year ago

People who can find such bugs have always amazed me. The understanding of the kernel required seems so impossibly vast.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (3 children)

Specifically, the weak spot is in "maple tree," a new data structure system for VMAs introduced in Linux kernel 6.1 that replaced the "red-black trees" and relied on the read-copy-update (RCU) mechanism.

Maple Tree also recently caused intermittent failures in some of my CPU-intensive tasks, in such an obscure way that I only found out by dumb luck that it was a kernel bug. I expect it will be great eventually, but it's feeling pretty rough at the moment. I'm thinking this code should have had more testing and maturing before going mainline.

[–] [email protected] 3 points 1 year ago

Damn. If the Maple Tree code is bugging out under CPU-intensive tasks, that would explain a lot about how my system's been behaving since I moved to 6.1. Thanks for the heads-up, and I guess I should compile another new kernel.

[–] [email protected] 2 points 1 year ago

Rcu is mostly broken, it's been a nightmare for a decade, building on top of that seems suicidal.

I know rcu failures are just symptoms of other issues, but building on top of it doesn't help matters.

[–] vcmj 1 points 1 year ago

Yep, got failures building GrapheneOS and the devs of that ROM made a big fuss on their Twitter when they encountered the failure themselves. The kernel devs really messed up with the way they deployed this thing

load more comments
view more: next ›