Re: [RFC 7/7] vhost: Add new UAPI to support changing Kthread mode

From: Christoph Hellwig
Date: Mon Aug 26 2024 - 02:31:23 EST


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. Assuming the change is intentional to start with.