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

I made a tool to help view kernel configuration values and compare them across many Linux distributions. Here's a blog post introducing it:
https://blogs.oracle.com/linux/post/explore-linux-kernel-kconfigs

Or, you can skip right to the tool here:
https://oracle.github.io/kconfigs/

Source is available here:
https://github.com/oracle/kconfigs

0
7
3
Edited 7 months ago
DAMON news letter for 2024-Q1 is posted: https://lore.kernel.org/damon/20240402191224.92305-1-sj@kernel.org/

"""
To recap, the long-awaited DAMOS auto-tuning feature has merged. More people
from the academy and the industry explored and contributed on DAMON. DAMON
user-space tool got more useful features. We will have yet another DAMON
presentation and discussion at OSSummit NA and LSF/MM/BPF.
"""

#linux #kernel #damon
0
0
0
DAMO v2.2.8 is out. This version supports[1] recording memory footprint of monitoring target processes together with their access pattern. Users could know when how much memory is allocated and really accessed. Such visualization is one of the future works, though.

[1] https://github.com/awslabs/damo/blob/v2.2.8/USAGE.md#recording-memory-footprints

#linux #kernel #damon #damo
0
0
1
Just pushed hackermail v1.0.2[1]. The major change in this version is the support of drafts. Users can tag/save, remote-synchronize, and continue writing/sending drafts.

[1] https://github.com/sjp38/hackermail/blob/v1.0.2/release_note
[2] https://github.com/sjp38/hackermail/blob/v1.0.2/USAGE.md#drafts

#hackermail #hkml
0
0
2
I wanted to know how many CVEs were assigned to DAMON, and then I wanted to know the numbers for other subsystems as well. So I wrote a script: https://github.com/sjp38/lazybox/blob/master/cve_stat/cves_per_file.py
0
0
1
Just tagged and pushed hackermail v1.0.1[1]. The most important change in this version would be the support of remote synchronization[2].

[1] https://github.com/sjp38/hackermail/blob/v1.0.1/release_note
[2] https://github.com/sjp38/hackermail/blob/v1.0.1/USAGE.md#synchronizing

#hackermail #hkml
0
0
2
repeated

I just renewed my subscription to @LWN

The best content about bleeding-edge Linux kernel development! 🐧 🙌

You should really consider subscribing if you haven't done it yet. 🙂

3
11
3
Edited 8 months ago

I wanted to know simple daily Linux kernel CVE statistics just for fun, so wrote a script[1] and plotted the output.

$ ./vulns_stat.sh ./vulns/ 30 | ../gnuplot/plot.py --data_fmt table --type labeled-lines --xtics_rotate -90 cve_stat_30_days.png

[1] https://github.com/sjp38/lazybox/blob/master/cve_stat/vulns_stat.sh

#linux #kernel #cve #stat

3
8
13
Inspired by Thorsten's great rc8 statistic[1], I extended my script[2] to further expect future releases based on the past release cadence.

[1] https://social.kernel.org/notice/AfkOGGMJWyDFsvYXdA
[2] https://github.com/sjp38/lazybox/blob/master/git_helpers/relstat.py

#linux #kernel #release_stat
1
1
2
Edited 8 months ago

Memory management subsystem pull request[1] for Linux 6.9-rc1 has been posted. To quote Andrew’s summary for DAMON part:

  • More DAMON work from SeongJae Park in the series
    • “mm/damon: make DAMON debugfs interface deprecation unignorable”
    • “selftests/damon: add more tests for core functionalities and corner cases”
    • “Docs/mm/damon: misc readability improvements”
    • “mm/damon: let DAMOS feeds and tame/auto-tune itself”

[1] https://lore.kernel.org/all/20240313200532.34e4cff216acd3db8def4637@linux-foundation.org/

#linux #kernel #damon

0
0
1
repeated

The 6.8 kernel has been released https://lwn.net/Articles/964784/

0
2
1
Edited 8 months ago
Just got an invitation to LSF/MM/BPF 2024[1]. Looking forward to meeting with other kernel hackers and discuss about topics for DAMON[2] and memory management!

[1] https://events.linuxfoundation.org/lsfmmbpf/
[2] https://lore.kernel.org/damon/20240129204749.68549-1-sj@kernel.org/

#linux #kernel #damon #lsfmm #lsfmmbpf
0
1
3
Just released damo (DAMON user-space tool) v2.2.4[1]. This version enables access pattern-based profiling[2]. For example, you can know which code is making your program's memory usage unexpectedly high, or which code is intensively accessing memory. Hopefully that will help better understanding and optimizing your code.

[1] https://github.com/awslabs/damo/tree/v2.2.4
[2] https://github.com/awslabs/damo/blob/v2.2.4/USAGE.md#profile

#linux #kernel #damon #damo #profiling
0
0
2
Yet another academic paper[1] exploring DAMON for tiered memory management will be presented at EuroSys 2024[2].

[1] https://pasalabs.org/papers/2024/Eurosys24_M3_Camera_Ready.pdf
[2] https://2024.eurosys.org/

#linux #kernel #damon #eurosys
0
0
1
repeated

Thorsten Leemhuis (acct. 1/4)

The CVE team released their first two CVEs:

* CVE-2023-52433: netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
https://lore.kernel.org/linux-cve-announce/2024022058-outsell-equator-e1c5@gregkh/

* CVE-2024-26581: netfilter: nft_set_rbtree: skip end interval element from gc
https://lore.kernel.org/linux-cve-announce/2024022024-uniquely-recluse-d893@gregkh/

For more details on the new CVE process, see https://docs.kernel.org/process/cve.html (recently added by https://git.kernel.org/torvalds/c/5928d411557ec5d53832cdd39fc443704a3e5b77 )

Screenshot from https://lore.kernel.org/linux-cve-announce/

1
3
1
Edited 9 months ago
DAMO v2.2.2 is released. The important change in this release is the introduction of 'replay' command[1]. It receives 'damo record' output and replay the recorded access pattern. Hopefully it will help reproducing the real-world's memory access pattern for analysis and benchmarks. The command is in an experimental level and not formally documented at the moment, though.

[1] https://github.com/awslabs/damo/blob/v2.2.2/release_note#L5

#linux #kernel #damon #damo
0
0
0
I just marked my linux kernel mails management tool as v1 (https://sjp38.github.io/post/hackermail_v1/). I hope it answers the questions on my mails management workflow, better than I did in the past.

#linux #kernel #hackermail
2
4
11
DAMON talk for OSSummit NA 2024 has been accepted and scheduled[1]. The talk will present DAMOS auto-tuning and hopefully, more new DAMO features. The features are still under development, but hopefully, the power of presentation-driven development will make it. ;) Looking forward to meeting you there!

[1] https://sched.co/1aBOg

#ossummit #ossummitna #linux #kernel #damon #damo
0
0
2
repeated

[$] A turning point for CVE numbers https://lwn.net/Articles/961978/

0
5
3
repeated
Linux is now a CNA: http://www.kroah.com/log/blog/2024/02/13/linux-is-a-cna/

This has taken a long time, I'd like to thank all the groups that helped, and especially the CVE group themselves. Our application was a bit different than other groups, but they understood that this is important for security overall.
7
83
127
Show older