Minsoo's FreeBSD wiki page
Introduction
Hi, I'm Minsoo, currently studying mathematical physics at the University of Waterloo. I have been using FreeBSD since 12.2 and contributed since 13.
I'm currently working as a junior software developer at the FreeBSD Foundation and planning to do research with Professor Ali Mashtizadeh in Reliable Computer Systems Lab at the University of Waterloo starting from 2027.
These days I work on schedulers, kernel dumps, and LLDB. I'm planning to work on virtual memory stuff in the future to introduce KASLR in the kernel.
TODO
LLDB
Seems to be feasible to be done by LLVM 24 branching:
- Add support for architectures on FreeBSD 14 and 15 (both user space and kernel). Needs refactoring the whole register part of LLDB.
- Create an extensive test suite for ProcessFreeBSDKernelCore.
Others:
- Implement an equivalent of GDB's convenient function. This helps porting KGDB scripts written in Python to LLDB.
Scheduler
- Introduce EEVDF scheduler instance in the base. Benchmark on different environments like servers, embedded, desktop, etc. See if it really improves weaknesses (e.g. latency) of the ULE scheduler.
- There are some niches ideas that Prof Ali and I want to implement around schedulers.
Kernel dump
- Refactor kernel dump subsystem so we can easily introduce other dump formats.
- Introduce kernel dump in ELF-core format that only contains used pages like minidump.
- Update libkvm and LLDB (and possibly GDB) to understand FreeBSD's kernel ELF core dump.
Documentation
- Set new style(9) on code documentation and comments. I believe FreeBSD should follow Illumos' code documentation and style standards (Their code is a pleasure to read).
- Remove man(9) pages that are not used by module/driver developers and host code documentation using Sphinx+{Doxygen/Breathe,C Autodoc,Hawkmoth} like the Linux kernel documentation (codedoc.freebsd.org).
Build System
FreeBSD build system is very outdated. See comment by theraven@. We need to improve bmake to CMake+Ninja level.
Refactor the whole build system:
- Refactoring *.mk: toolchains (especially better cross-build design), improving ctags and compile_commands.json generation, better incremental build.
- This might require completely parting from MFVing NetBSD's bmake and fork our own bmake.
pkg(8)
- Implement concurrent downloads.
poudriere(8)
- Implement new web UI.
- Probably should be written in Go.
Forgejo
I really want Forgejo to replace Bugzilla, Phorge, and part of Wiki.
- Write Forgejo CI scripts and test them.
Contact
Email: <mchoo AT FreeBSD DOT org> (FreeBSD related)
Email: <minsoo AT minsoo DOT io> (Research, work related)
- Discord: minsoochoo
Links
Blog: https://minsoo.io
Mastodon: @minsoochoo