Re: [RFC PATCH v7 00/26] userland: Userland containers
From: Jarkko Sakkinen
Date: Fri Nov 27 2026 - 18:15:18 EST
On Sat, Nov 28, 2026 at 12:43:12AM +0200, Jarkko Sakkinen wrote:
> On Sat, Nov 28, 2026 at 12:08:38AM +0200, Jarkko Sakkinen wrote:
> > On Sat, Nov 28, 2026 at 12:05:03AM +0200, Jarkko Sakkinen wrote:
> > > On Sat, Nov 28, 2026 at 12:41:03AM +0300, Askar Safin wrote:
> > > > Jarkko Sakkinen <jarkko@xxxxxxxxxx>:
> > > > > I personally think that "getting in" should not be a goal in the first
> > > > > place. I care more about that whaever gets in has a high bar of
> > > > > quality enough. It can be something different than this but
> > > > > when I read the LWN article about Cells I was alarmed enough
> > > > > so that I had to do this and prove my point.
> > > >
> > > > I think that Bacik's patchset has better chances than yours.
> > > > I think so, because (as Bacik said) it was tested in Anthropic, and also
> > > > because Brauner reacted positively:
> > > > https://lore.kernel.org/all/20261021-zeitig-niemals-clubmitglieder-b3973fcebd38@brauner/ .
> > > >
> > > > So I suggest reading Bacik's patchset and say what you don't like about it.
> > > > You will have chance to influence Bacik's proposal before it will be merged.
> > >
> > > I've read it through and the way I'm seeing it is that it is overdoing,
> > > and has somewhat complicated life-cycle model tbh. I don't like it.
> > >
> > > This could be of course wrong way to see things and I did this just
> > > to demonstrate that similar goals can be achieved with a relatively
> > > lightweight core. And this is also demonstrated with a Python daemon
> > > emulating Cells style containers (and alos relatively trivial SystemD
> > > wiring).
> > >
> > > There's no reason to continue this for the time being as it
> > > demonstrates already how I see the world i.e., "I showed the
> > > code". It's up to whoever decides these what they do.
> >
> > And even if Cells is the ultimate solution since I had thought about the
> > whole problem 1.5 years (mainly for my own entertainment but still) this
> > was the best way to unpurge all of that. Regardless, world became a
> > better place... New information arrived.
>
> When it comes to containers and namespaces I even don't want to have
> any opinions tbh, because it is so opionated area to begin with. Thus,
> I pushed back sending anything using this approach for a year.
>
> Despite the patch set tsunami (sorry about that, shit started to
> unpurge as I went on), I was not too hesitate to send this in the
> first place, or have no motivation to compete with any solution.
>
> I did all this really for the sake of rightful concerns about the
> complexity of the mainstream approach; and in that sense I'm happy about
> myself.
When I was thinking about the whole problem (for mostly fun) I was
thinking more sequencing than data structures. I.e. I have a game where
I need to end up to process creation without embryonic state, and add
just enough weight to kernel to support that outcome, and that leads
to ~2K'ish LOC of extra kernel complexity.
The type of staging that SGX driver uses seems to work really well here,
and allows to create the container state easily in non-running
state.
Br, Jarkko