Re: [RFC 7/7] vhost: Add new UAPI to support changing Kthread mode
From: Jason Wang
Date: Mon Aug 26 2024 - 22:09:56 EST
On Mon, Aug 26, 2024 at 2:31 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> On Mon, Aug 26, 2024 at 02:21:52PM +0800, Jason Wang wrote:
> > > What is the application visible behavior that the API use is the proxy
> > > for?
> >
> > Vhost used to be created by kthreadd but some recent patches change it
> > to behave like being froked by the owner. So the various attributes
> > that interhit from the parent has been changed (scheduling and
> > namespace etc).
>
> Well, if that breaks userspace it needs to be changed to opt into the
> new behavior rather than requiring a flag to not break the existing
> applications.
Yes, if I was not wrong, this is something this series tries to reach.
No flag means old behaviour, new flag means new behaviour.
> Assuming the change is intentional to start with.
>
>
Thanks