Posts
168
Following
31
Followers
77
Maintaining DAMON (https://damonitor.github.io). All opinions are my own.
repeated

Thorsten Leemhuis (acct. 1/4)

, which allows scheduling policies to be implemented as programs, has been merged for 6.12:

https://git.kernel.org/torvalds/c/88264981f2082248e892a706b2c5004650faac54

See https://lwn.net/Articles/922405/ for a description of what it does and https://lwn.net/Articles/972710/ for the controversy it caused that is the reason why it took so long to land in mainline.

0
5
3
repeated

Sched_ext Merged For Linux 6.12 - Scheduling Policies As BPF Programs

Linux 6.12 is shaping up to be a heck of a kernel update! Following real-time "PREEMPT_RT" going mainline after twenty years and many other kernel features merged this week, Linus Torvalds just pulled in the much anticipated sched_ext code!..
https://www.phoronix.com/news/Linux-6.12-Lands-sched-ext

0
2
1
Edited 1 month ago
My Kernel Memory Management LPC Micro Conference talk titled "DAMON: Long-term Plans for Kernel That {Just Works,Extensible}" was successful.
The video[1] and slides[2] are available. I was obviously nervous since I forgot contents of the slides due to the great talks from two previous speakers (I highly recommend you to watch those). I like it though, since it reminds me how humble I am ;)

[1] https://www.youtube.com/live/CTWQ-d7pj5s?feature=shared&t=20182
[2] https://lpc.events/event/18/contributions/1768/

#linux #kernel #damon #linuxplumbers
0
5
3
MM pull request for Linux v6.12-rc1 is posted[1] by Andrew Morton. Important fixes / cleanups for DAMON are included:

- mm/damon/lru_sort: adjust local variable to dynamic allocation
- misc fixups for DAMON {self,kunit} tests
- replace per-quota region priorities histogram buffer with per-context one
- Docs/damon: update GitHub repo URLs and maintainer-profile

I believe it is a good list of changes for next LTS kernel candidate.

[1] https://lore.kernel.org/20240920023317.f20c9ecbb2a2f4bf382d831c@linux-foundation.org

#linux #kernel #mm #damon
0
1
1
repeated
Lots of people thanked me for my work on b4 this week. It feels very nice, but I want to remind everyone that b4 wouldn't be possible without public-inbox. Please email Eric Wong (privately) and thank him for his work -- I am pretty sure he can use some good vibes.
0
6
19
Found an interesting academic paper preprint that optimizing THP using DAMON and BPF: "eBPF-mm: Userspace-guided memory management in
Linux with eBPF" (https://arxiv.org/pdf/2409.11220)

#linux #kernel #damon #bpf #thp
0
1
1
Edited 2 months ago
0
2
6
repeated
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
123
166
repeated

Jonathan Corbet

I have often complained that, even though thousands of developers are paid to work on the Linux kernel, there is not a single person whose job it is to write documentation for the kernel. The problem is wider than that, though: Alejandro Colomar, who has been maintaining the man pages collection for the last four years, can no longer afford to do it for free.

https://lwn.net/ml/all/4d7tq6a7febsoru3wjium4ekttuw2ouocv6jstdkthnacmzr6x@f2zfbe5hs7h5
5
84
66
Edited 2 months ago
Today was my last day at Amazon. So from now on, the views expressed herein are those of the speakers;
They _do_ reflect the views of their employers (myself), until another announcement ;)
3
0
5
A new squad member has arrived from Germany.
0
1
2
Very impressive CXL-based memory tiering performance of HMSDK is shared[1] with a cool video. It is the grateful result of a collaboration between DAMON community and SK hynix. It was never a one-side help, but a collaboration. DAMON also gained its ability to do tiered memory managements from the collaboration.

I'm grateful to be a part of the work. I was always impressed and learned many things from SK hynix' innovative ideas and constructive discussions. I'm looking forward to continued collaborations and next outputs!

[1] https://www.linkedin.com/posts/honggyukim_ai-hpc-cxl-activity-7236734372266000385-zYuk?utm_source=share&utm_medium=member_desktop

#linux #kernel #damon
0
1
1
repeated
Here's a link to the slides for my "Why are there so many kernel CVEs?" talk I gave at OSS China yesterday:
https://kccncossaidevchn2024.sched.com/event/ed2b39a9a0cdfc1df18de67ce0c2f6be

Link to git repo for the slides if the schedule site acts odd for you:
https://git.sr.ht/~gregkh/presentation-security

It was fun, and will be the "set up" for my Kernel Recipes talk in Paris in a few weeks (only 3 conferences to go between now and then, travel is back in full swing.)
5
27
39
repeated

Thorsten Leemhuis (acct. 1/4)

Registration for @linuxplumbersconf reopened

'"This year there was a huge demand to attend Conference in person and at last we were able to add more places and reopen the registration."'

https://lpc.events/blog/current/index.php/2024/08/16/registration-is-now-reopened/

1
6
3
GitHub repos for non-kernel parts of DAMON project including 'damo', 'damon-tests' and 'damoos' will be moved from 'awslabs' to 'damonitor', by 2024-09-05: https://lore.kernel.org/20240813232158.83903-1-sj@kernel.org

#linux #kernel #damon #damo #damon-tests #damoos
0
1
1
repeated

Building on the excellent codetag/alloc_tag infrastructure recently added to Linux, I've got an initial implementation of per-call-site kmalloc cache isolation:
https://lore.kernel.org/lkml/20240809072532.work.266-kees@kernel.org/

It's sure to give @vbabka nightmares and frustrate shared-cache use-after-free exploits. 😁

0
6
2
Edited 3 months ago
VLDB paper about Aurora Serverless V2, which reveals their usage of DAMON on the product, is now available: https://www.amazon.science/publications/resource-management-in-aurora-serverless

#linux #kernel #damon #aurora_serverless_v2
0
1
1
Edited 3 months ago
We are looking for DAMON recipes that I could share on upcoming OSSummit EU, or (hopefully) DAMON microconf at LPC'25: https://lore.kernel.org/20240724222119.58477-1-sj@kernel.org

#linux #kernel #damon #ossummit #linuxplumbers
0
1
1
Edited 3 months ago
Memory Management subsystem pull request for Linux v6.11-rc1 is posted[1] with DAMON changes for CXL memory tiering[2], documentation[3] of a mailing tool for newcomers (HacKerMaiL), and minor fixups.

[1] https://lore.kernel.org/20240721145415.fbeb01a853962ef91334f3d1@linux-foundation.org
[2] https://lore.kernel.org/20240614030010.751-1-honggyu.kim@sk.com
[3] https://lore.kernel.org/20240621163626.74815-1-sj@kernel.org

#linux #kernel #damon #hkml
1
1
1
DAMON topic for Linux Kernel Memory Management Microconference at LPC'24, titled "DAMON: Long-term Plans for Kernel That {Just Works,Extensible}" has been accepted[1].

[1] https://lpc.events/event/18/contributions/1768/

#linux #kernel #damon
0
1
1
Show older