Posts
5466
Following
347
Followers
544
.

Jarkko Sakkinen

As long as LLMs don't ask the questions for you, there's no problem with LLMs IMHO :-) Iterating the question is everything in engineering. Everything else is relatively nothing.
0
0
3

Jarkko Sakkinen

After refurbishing dhowell's patch set for a while I end up to the situation where I you realize that you're chasing for solution rather than for the problem. So time to pivot.

So I'm thinking that most of it could be possibly done by adding a new feature for sys_clone() instead... Need to experiment with this. I.e., chasing for the problem now...
0
0
0

Jarkko Sakkinen

2
5
3

Jarkko Sakkinen

As per target hardware for this Polyend inspired tracker i think i target it for Raspberry Pi 4 and make sure that with that hardware it has a great user experience. I have one spare Raspberry Pi 400, which makes a great testing platform for this use and purpose.
0
0
0

Jarkko Sakkinen

Edited 2 months ago
it's glitchy atm because heavy changes how pattern editor is rendering but getting there ;-) music courtesy of 4mat - red sector theme
0
0
0

Jarkko Sakkinen

after fixing a few rendering glitches next step with this will be wavetable and granular oscillators 🙂 #polyend #tracker
1
0
2

Jarkko Sakkinen

Moxie seems to be only person in the planet nailing login like it was 2021 :-)

Linear email-link-passkey track.

First time I witnessed this like it should be done everywhere really since five years ago.
0
0
0

Jarkko Sakkinen

I'm slowly putting together a software clone slash inspired of first edition of Polyend Tracker:

https://bsky.app/profile/jarkk0.bsky.social/post/3mesd3hefkk22

All the graphics code is going throug rewrite (undoing egui for other than layouts, per-pixel rendering to texture for each block) and doing direct pipewire backend, and later on CoreAudio for macOS :-)

#polyend #chiptune
1
0
3

Jarkko Sakkinen

Test case naming conventions people use for kselftest when you have broad spectrum of them?
0
0
0

Jarkko Sakkinen

The update I 'm still fine-tuning for dhowell's patch set is not just respin but is actually conceptually different.

I.e. from being task_struct centered into nsproxy centered, and repeated spawning that Eric Biedermann complained about (for legit reasons) is being addressed.

Containers are 1st class namespace now members managed by nsproxy to address the need of not wanting to use namespaces ;-)
0
0
0

Jarkko Sakkinen

Edited 2 months ago
Getting there: https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/log/?h=container

# /usr/lib/kselftests/run_kselftest.sh -t containers:run.sh
TAP version 13
1..1
# timeout set to 45
# selftests: containers: run.sh
# create: alpha: pass
# create: beta: pass
# list/json: fetch: pass
# list/json: has alpha: pass
# list/json: has beta: pass
# list/json: has ready state: pass
# ps/json: fetch: pass
# ps/json: has alpha: pass
# ps/json: has beta: pass
# create: reject invalid name: pass
# run: no procfs without --proc: pass
# run: procfs with --proc: pass
# wait: observes termination: pass
# stop: SIGTERM exits init: pass
# stop: fails when TERM ignored: pass
# kill: SIGKILL exits init when TERM ignored: pass
# run: non-zero exit fails: pass
ok 1 selftests: containers: run.sh
1
0
0

Jarkko Sakkinen

Opaque container objects can be sealed better or that can be tuned very far at least.

This has the advantage when you actually want bare metal + containers instead of bare metal + vm wrapping the containers.

I mean when you want that in *production* and don't want to worry too much of security aspects.

One example use case is to maximize the throughput in video streaming service for each node. This is the "Netflix use case" (they use FreeBSD).
1
0
0

Jarkko Sakkinen

A new git tidbit learned: git branch --edit-description

Read:

git config --get branch.container.description

Now git-format-patch will import it as the body of the cover-letter:

git format-patch --cover-letter master
0
2
8

Jarkko Sakkinen

I'm worried that it will be a murder to send container object patch set tbh. We'll see. Everytime I think it is ready I see something that makes me unhappy.

And even if it was right technical sense it is not high odds patch set by definition.

Especially trying to nail Al Viro's and Eric W. Biedermann's feedback to previous iteration from 2019 but I'm sure I'll miss some detail, ugh :-)
0
0
0

Jarkko Sakkinen

I'm trying to figure out a name for C file containing minimal container manager (or distantly a container manager). All I can make up is kontainer.c :-/ I guess I have to fix to that then. This is for kselftest.
2
0
0

Thorsten Leemhuis (acct. 1/4)

The support in the is now officially a first class citizen and not considered experimental any more:

https://git.kernel.org/torvalds/c/9fa7153c31a3e5fe578b83d23bc9f185fde115da; for more details, see also: https://lwn.net/Articles/1050174/

This is one of the highlights from the main for 7.0 that was merged a few hours ago ; for others, see https://git.kernel.org/torvalds/c/a9aabb3b839aba094ed80861054993785c61462c

2
17
1

Jarkko Sakkinen

Edited 2 months ago
I'll replace the test-container.c from the original patch set with kcontainer.c, which is a stripped down container manager, and a shell script containing the test cases.

It's really just a wrapper for container_* but should demonstrate with reasonable realism the capabilities of the kernel feature.
0
0
0

Jarkko Sakkinen

A new Git subcommand I was not aware of: git range-diff. It compares two versions of branch.

This came up now that I forked dhowell's container object patch set.

E.g.,

git range-diff refs/remotes/fs/container...container
0
1
2
Show older