Posts
168
Following
31
Followers
77
Maintaining DAMON (https://damonitor.github.io). All opinions are my own.
I found "Unusable Free Space Index", which is a good metric to represent the amount of fragmentation, from Mel Gorman's paper[1]. I implemented it as a script called 'ufsi.py'[2], and used it in researches and profiling. While using it, I started wrongly thinking the name of the metric is "ufsi". I have again used the wrong name in LSFMM session of yesterday, and apparently it made one people or two bit confused. Clarifying here, though I unsure how many people will read this. Sorry if I made you bit confused, again.

[1] https://www.landley.net/kdocs/ols/2006/ols2006v1-pages-369-384.pdf
[2] https://github.com/sjp38/lazybox/blob/master/scripts/ufsi.py
0
0
1
Edited 6 months ago
@LWN launched kernel source database! This is cool! Another reason to subscribe to LWN! https://lwn.net/ksdb/
0
2
2
Edited 6 months ago
I just sent two sets of patches for DAMON-based tiered memory management [1] and access/contiguity-aware memory scaling[2]. These have been on the back burner for a while, but I was able to get a little more work done this time around because they are the main topics of tomorrow's LSFMM session - presentation-driven development definitely works!

[1] https://lore.kernel.org/20240512175447.75943-1-sj@kernel.org
[2] https://lore.kernel.org/20240512193657.79298-1-sj@kernel.org/

#linux #kernel #damon #lsfmmbpf
0
0
0
@vbabka @ljs I Hope it is a safe and comfortable trip! Looking forward to seeing you!
1
0
3
Just uploaded the first draft[1] of the slides for LSFMM+BPF 2024 DAMON talk[2]. Note that it is just a draft, and therefore will be (significantly) changed until the talk, though!

[1] https://github.com/damonitor/talks/blob/master/2024/lsfmmbpf/damon_lsfmmbpf_2024.pdf
[2] https://docs.google.com/spreadsheets/d/176LXLys9Uh6A-Eal2flrzcbUSJMUXGkGwyihr9jAAaQ/edit#gid=0

#linux #kernel #damon
0
0
1
@kernellogger @gregkh I was also thinking "But, rejected..." at first, but I soon realized that the rejected CVEs are also a result of the CNA's effort, and therefore should be counted. I also appreciate the CNA's efforts!
0
0
1
@kernellogger No problem. I was also waiting for the 1000th CVE, and was near to miss it due to an issue in my script. I found it thanks to your post, thank you!

I was also thinking finding the exact 100th CVE is not worthy, but I just wanted some fun ;) Happy to hear that you also got some fun!
0
0
2
Edited 6 months ago
@kernellogger FWIW, seems the glorious commit was 066ff875952b ("cves issued for some 6.8.8 commits").

```
vulns$ git ls-tree 066ff87 cve/published/*/*.json cve/rejected/*/*.json | wc -l
1002
vulns$ git ls-tree 066ff87~1 cve/published/*/*.json cve/rejected/*/*.json | wc -l
959
```

And in a way of sorting the CVEs, the 1000th CVE is CVE-2024-27019 (https://lore.kernel.org/2024050150-CVE-2024-27019-e3d4@gregkh).

```
vulns$ git show 066ff875952b --stat
[...]
cve/published/2024/CVE-2024-27019.sha1 | 1 +
[...]
cve/published/2024/CVE-2024-27020.sha1 | 1 +
[...]
cve/published/2024/CVE-2024-27021.sha1 | 1 +
172 files changed, 9150 insertions(+)
```

RE: https://fosstodon.org/users/kernellogger/statuses/112364389830654403
1
0
0
repeated

Thorsten Leemhuis (acct. 1/4)

Edited 6 months ago

The 's team just published their thousandth CVE[1]. 🥳 🙃

This happened 78 days after the effort was announced[2].

Note, 26 of the 1003 CVE entries published so far were later rejected. For details check https://git.kernel.org/pub/scm/linux/security/vulns.git/ or https://lore.kernel.org/linux-cve-announce/

[1] https://git.kernel.org/pub/scm/linux/security/vulns.git/commit/?id=55441d0dd1f40c5762cd7cf8c9ca312ed0964c4a

[2] http://www.kroah.com/log/blog/2024/02/13/linux-is-a-cna/

1
4
1
The video of the DAMON presentation at LinuxCon'24 is now available: https://youtu.be/vP5x5P47S1U?feature=shared

#linux #kernel #damon
0
0
1
Yet another academic paper exploring DAMON as a part has been published by ASPLOS'24: https://dl.acm.org/doi/10.1145/3620666.3651355

#linux #kernel #damon
0
0
2
Edited 7 months ago
Just found OSSummit NA has unconference session chance. I booked one slot to use it as a place for yet another in-person veresion of the DAMON community meetup, a.k.a Beer/Coffee/Tea Chat. The time is just after my talk at LinuxCon. Looking forward to meet you and chat interesting things!

More formal announcement: https://lore.kernel.org/r/20240416184044.98993-1-sj@kernel.org

#linux #kernel #damon #ossummit
0
0
3
Edited 7 months ago
DAMO v2.3.0[1] is out. An important change on this version is the support of memory footprint visualization[2]. All DAMO features including this, which are added since last OSSummit Europe will be demonstrated in this week's OSSummit NA on Wednesday[3].

[1] https://github.com/awslabs/damo/blob/v2.3.0/release_note#L4
[2] https://github.com/awslabs/damo/blob/v2.3.0/USAGE.md#footprints
[3] https://sched.co/1aBOg

#linux #kernel #damon #damo
0
0
1

I sometimes do git log --author to know developers including myself for just fun, retrospects, or interviews. It was not easy to get the whole picture with my poor brain. Hence I wrote a script: https://github.com/sjp38/lazybox/blob/master/git_helpers/profile_author.py

E.g.,

$ ./profile_author.py "SeongJae Park" --branch linus/master --repo ~/linux --max_files 10
since 2023-04-14 until 2024-04-13
# <changed_lines> <file>
746 mm/damon/sysfs-schemes.c
735 Documentation/admin-guide/mm/damon/usage.rst
646 mm/damon/core.c
522 Documentation/mm/damon/design.rst
405 tools/testing/selftests/damon/_damon_sysfs.py
291 include/linux/damon.h
273 mm/damon/sysfs.c
179 mm/damon/core-test.h
100 Documentation/ABI/testing/sysfs-kernel-mm-damon
86 mm/damon/sysfs-test.h
# 5035 total lines
# 52 total files
# 172 commits

#lazybox #git #statistics

0
0
3
@mpdesouza @jarkko Now 'hkml list' supports it[1]. It's in an experimental support level, and may need more optimization, though.

[1] https://social.kernel.org/notice/AgefTWMQCzYk6qZJaK
0
0
2
Edited 7 months ago
Hackermail v1.0.3 is out. The major change in this version is the support of public-inbox search queries[1]. It is in an experimental level, and may need more optimization, though.

[1] https://github.com/sjp38/hackermail/blob/v1.0.3/USAGE.md#public-inbox-search

#hackermail
0
3
3
@mpdesouza @jarkko Hackermail doesn't support lei's sophisticated search syntax and performance, though.

Recently I was looking for a way to do that, and made a hacky idea. However, I'm not sure if that will really be needed by many users and hence taking time for prioritization.

Please feel free to uploading GitHub issue or PR if you need it!

#hackermail #hkml
2
0
3
Show older