Re: [PATCH 1/8] fork: add helper to clone a process

From: Christoph Hellwig
Date: Fri Sep 17 2021 - 04:08:19 EST


On Fri, Sep 17, 2021 at 09:44:40AM +0200, Christian Brauner wrote:
> > generally want a printf-like varargs caling conventions. I'd also
> > much prefer to hide as much as possible in the actual helper. That is
> > build a helper that gets the name, a flag to ignore the singals etc
> > instead of exporting all these random low-level helpers.
>
> Yes, I think that's really what we want here.

In a way this would mean enhancing the kthread API to also support I/O
threads.