Re: [RFC 7/7] vhost: Add new UAPI to support changing Kthread mode
From: Christoph Hellwig
Date: Wed Aug 21 2024 - 01:07:02 EST
On Mon, Aug 19, 2024 at 05:27:33PM +0800, Cindy Lu wrote:
> Add a new UAPI to support setting the vhost device to
> use kthread mode. The user space application needs to use
> VHOST_SET_USE_KTHREAD to set the mode. This setting must
> be set before VHOST_SET_OWNER is set.
Usage of an API is a complete kernel internal detail that has absolutely
no business being exposed to applications.
What is the application visible behavior that the API use is the proxy
for?