search for: vhost_set_vring_worker

Displaying 2 results from an estimated 2 matches for "vhost_set_vring_worker".

2023 Apr 12
1
[PATCH v6 11/11] vhost: allow userspace to create workers
...nt? > > (sorry I missed some of the previous comments). > > It's been like 3 years since this was last discussed so no problem :) > I'm really sorry for that, -ENOMEM :( > Yeah, what you describe is all I need. Originally I just had the one > ioctl: > > +#define VHOST_SET_VRING_WORKER _IOWR(VHOST_VIRTIO, 0x15, struct vhost_vring_worker) > > The VHOST_SET_VRING_WORKER created a worker on the virtqueue in the > vhost_vring_worker. > > > >>>> > >>>>>> - default: > >>>>>> + case VHOST_ATTACH_VRING_WO...
2023 Mar 28
12
[PATCH v6 00/11] vhost: multiple worker support
...ed xa instead of idr. V5: - Rebase against user_worker patchset. - Rebase against flush patchset. - Redo vhost-scsi tmf flush handling so it doesn't access vq->worker. V4: - fix vhost-sock VSOCK_VQ_RX use. - name functions called directly by ioctl cmd's to match the ioctl cmd. - break up VHOST_SET_VRING_WORKER into a new, free and attach cmd. - document worker lifetime, and cgroup, namespace, mm, rlimit inheritance, make it clear we currently only support sharing within the device. - add support to attach workers while IO is running. - instead of passing a pid_t of the kernel thread, pass a int allocated...