4 ms·
Linux's Slab Allocator Is Officially Deprecated
- trufas 3y agoSLUB is a nice story of a simpler implementation winning out, even when SLAB may have been more technically sophisticated.
- dathinab 3y agoHow does something ends up on the front page which is so uninteresting(1) that both on the site it comes from and here, there isn't a single comment. (1): Uninteresting but not irrelevant. Like a step in a stair, each step is uninteresting but relevant as missing a step is a huge issue.
- mat_epice 3y agoMost links here have dozens of points, this (and a couple of others) only has seven. Perhaps a “hot” metric saw a few votes come in quickly and overestimated its general interest. It should fall off the front page very quickly.
- ape4 3y agoHow an OS allocates memory is pretty important
- dathinab 3y agoLike I sayed important but uninteresting. Because this is not about changing how Linux allocates memory. It's about deprecating a method Linux used in the past but has by default switched away from already in the past.
- arp242 3y agoClearly people disagree that it's uninteresting. You don't need to personally like every story posted on HN. It's fine to skip the some of them. You can even hide them.
- dathinab 3y agoit's not weather its interesting for me or you but weather its interesting enough for HN readers to interact with it in the comment section ... and I was wondering how something which seemed to be not leading to much engagement at all ended up on the front page, I wasn't complaining or saying it's bad, just wondering
- JohnFen 3y ago> Like I sayed important but uninteresting Uninteresting to you. Interesting to me.
- astrange 3y agoThis detail of an in kernel allocator isn't very important or novel, but Linux changes are easy to report on since they're done in public, so they get articles.
- brickteacup 3y agoyou realize that you can just ignore links you don't find interesting instead of complaining, right? that's what everyone else does. HN is not your own personal link curator
- jmholla 3y agoAgreed. I wish the article dove into how SLAB works, why it is being deprecated, and what it's modern equivalent/replacement is. That would've been worth reading. I clicked a few of the links in the article and the links in those articles and didn't find any of that. This is just an announcement for those in the know.
- mmastrac 3y agoSLAB vs SLOB vs SLUB: https://events.static.linuxfound.org/sites/events/files/slides/slaballocators.pdf https://events.static.linuxfound.org/sites/events/files/slid...
- gumby 3y agoFortunately SLIB and SLEB are still in our future. I hope they don't need to resort to SLYB, much less SLOEB and the like.
- codetrotter 3y ago> SLOEB Excuse me, I think you mean “SLÖB”!
- gumby 3y agoIsn't the kernel USASCII-only (POSIX charset)?
- Iwan-Zotow 3y agoOSLOEB
- viraptor 3y agoYou can't use that one in VMs though. Only on bare metal.
- deleted 3y ago[deleted]
- sedatk 3y agoHuh, thanks to the article, I learned that SLOB's maintainer was Mercurial's creator, Olivia Mackall. I'm in awe of these people who are involved in more than one gigantic project in their lifetime.
- glandium 3y agoMercurial was created for the same reason git was created, around the same time. So yeah, Olivia Mackall was a kernel hacker at the time.
- corbet 3y agoLWN coverage of the LSFMM session that led to this decision: https://lwn.net/Articles/932201/ https://lwn.net/Articles/932201/