Re: [PATCH 18/23] init: open code setting up stdin/stdout/stderr

From: Christoph Hellwig
Date: Mon Jul 27 2020 - 02:50:01 EST


On Sun, Jul 26, 2020 at 11:36:15PM -0700, hpa@xxxxxxxxx wrote:
> >Err, why? The changes have been pretty simple, and I'd rather not come
> >up with new crazy ways just to make things complicated.
>
> Why? To avoid this neverending avalanche of special interfaces and layering violations. Neatly deals with non-contiguous contents and initramfs in device memory, etc. etc. etc.

I don't think it will be all that simple. But given that linux-next
is just missing one series Al was already ok with to kill off set_fs
entirely for about half of our architectures I'd rather go ahead with
this series. If you can send a series mapping user memory that actually
cleans things up on top of it I'm not going to complain, but I'm not
sure it really is going to be all that much cleaner.