Posts
312
Following
90
Followers
3337
@aho Others have done research on how long it would take to reimplement code bases based on their size and importance, see that research for details.

In short, it's not going to happen, and no one is asking for it to happen. Just evolve like normally and all will be fine. The Linux kernel you run today has almost no code that was in the kernel you used 25 years ago, so why would it have the same code you use 25 years from now?

Except for the tty layer, that beast is almost identical to what was around in the beginning, and probably will outlive us all...
1
1
22
This "untrusted data" patch series from Benno Lossin is the result of conversations at last weekend's Rust Linux kernel conference in Copenhagen:

https://lore.kernel.org/all/20240913112643.542914-1-benno.lossin@proton.me/

It's not a "silver bullet" for why we should be using rust in the Linux kernel, but it is a "big giant sledgehammer" to help squash and prevent from happening MANY common types of kernel vulnerabilities and bugs (remember, "all input is evil!" and this change forces you to always be aware of that, which is something that C in the kernel does not.)

I had always felt that Rust was the future for what we need to do in Linux, but now I'm sure, because if we can do stuff like this, with no overhead involved (it's all checked at build time), then we would be foolish not to give it a real try.

And yes, I've asked for this for years from the C developers, and maybe we can also do it there, but it's not obvious how and no one has come up with a way to do so. Maybe now they will have some more incentive :)
5
122
165
repeated

Must not make a comparison. Really. Must not. But just saying...

Clang Built Linux took literally years of effort. And it's all still C, just a different compiler.

Did anyone really expect Rust for Linux to be a breeze?

I know, I know, apples and oranges.

4
2
3
@sima Right after this happened, I went and checked the LDD3 book, and yes it says this in the chapter about memory:

(internally performed by calling, eventually, __get_free_pages, which is the source of the GFP_ prefix))

So I have no excuse for not remembering this either...
1
2
9
repeated

kangrejos in copenhagen was great, but the absolute 🤯 moment was when I learned that GFP_ stands for get_free_pages

I had no idea. and @gregkh next to me had the same https://xkcd.com/1053/ experience

3
6
4
repeated
@pdp7 @gregkh just out of curiosity I asked ChatGPT what "tip.git" stands for, and it assures me, that it stands for "Tracking Important Patches". Which is on par with LLMs, I guess.
2
1
11
@monsieuricon @pdp7 {sigh} Good news is the machines aren't going to be replacing us any time soon I guess.
1
0
8
repeated
BREAKING: Linus rescinds all 'don't break userland' requirements for mm as he deems memory 'virtual' and therefore not real
1
4
18
repeated
Edited 10 months ago

Anyone else often find themselves starting a retort/reply to a thread here, only to abandon the effort part way through, because you realize your time is better spent supporting/fixing/making things than trying to educate people who haven't bothered to do any of the most basic level of self-education on the given topic?

0
3
1
@monsieuricon And it works, thanks for the support help today in making it happen, ssh config files are "fun" when they have accumulated years of cruft as kernel.org server names have changed over time.
0
0
5
@dvzrv Cool, let me test that out as you know, that's the distro I use...

And it should be much easier to install usbreset now, perhaps I should just switch to always installing it by default and see if anyone objects...
0
0
1
@xexaxo And congrats on converting kmod, brave of you to keep two build systems running at once.
0
0
1
@lanodan Ah, a hold-over for when I was messing around with the cflags. I'll work on adding proper support for more flags and then that variable will be used.

Thanks for taking a look!
0
0
2
@xexaxo Email works great for patches, or, if you really only like the github workflow, you can send a pull request to https://github.com/gregkh/usbutils as is mentioned in the README
1
0
0
Finally converted usbutils over to meson from autotools. Odds are I messed something up, so I should do a release soon to see what broke in the distros as I have no idea how they package this thing anymore:
https://git.sr.ht/~gregkh/usbutils/commit/86dcab8964901d15b87b156546559c8ae28bd9fe
4
8
21
repeated

New blogpost about creating bit-by-bit reproducible images with mkosi(!)

https://vdwaa.nl/mkosi-reproducible-arch-images.html

#archlinux #systemd #mkosi

0
6
1
repeated
repeated
My boss: "how is that Gemini AI trial going? Are you making good use of it?"
Me: "Oh, yeah, for sure."
1
15
34
@kurtseifried @joshbressers Your TV (i.e. all TVs) was running Linux for 15+ years now, it's always been there, just no one noticed...
1
0
0
Show older