Re: [PATCH V6 01/10] Use copy_process in vhost layer

2022-02-02 Thread Mike Christie
On 1/18/22 1:12 PM, Eric W. Biederman wrote: > Mike Christie writes: > >> On 1/17/22 11:31 AM, Eric W. Biederman wrote: >>> Mike Christie writes: >>> On 12/22/21 12:24 PM, Eric W. Biederman wrote: > All I am certain of is that you need to set > "args->exit_signal = -1;". This

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2022-01-18 Thread Eric W. Biederman
Mike Christie writes: > On 1/17/22 11:31 AM, Eric W. Biederman wrote: >> Mike Christie writes: >> >>> On 12/22/21 12:24 PM, Eric W. Biederman wrote: All I am certain of is that you need to set "args->exit_signal = -1;". This prevents having to play games with do_notify_parent.

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2022-01-18 Thread Mike Christie
On 1/18/22 12:51 PM, Mike Christie wrote: > On 1/17/22 11:31 AM, Eric W. Biederman wrote: >> Mike Christie writes: >> >>> On 12/22/21 12:24 PM, Eric W. Biederman wrote: All I am certain of is that you need to set "args->exit_signal = -1;". This prevents having to play games with

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2022-01-18 Thread Mike Christie
On 1/17/22 11:31 AM, Eric W. Biederman wrote: > Mike Christie writes: > >> On 12/22/21 12:24 PM, Eric W. Biederman wrote: >>> All I am certain of is that you need to set >>> "args->exit_signal = -1;". This prevents having to play games with >>> do_notify_parent. >> >> Hi Eric, >> >> I have all

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2022-01-17 Thread Eric W. Biederman
Mike Christie writes: > On 12/22/21 12:24 PM, Eric W. Biederman wrote: >> All I am certain of is that you need to set >> "args->exit_signal = -1;". This prevents having to play games with >> do_notify_parent. > > Hi Eric, > > I have all your review comments handled except this one. It's looking

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2022-01-17 Thread Mike Christie
On 12/22/21 12:24 PM, Eric W. Biederman wrote: > All I am certain of is that you need to set > "args->exit_signal = -1;". This prevents having to play games with > do_notify_parent. Hi Eric, I have all your review comments handled except this one. It's looking like it's more difficult than just

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2021-12-22 Thread Michael S. Tsirkin
On Wed, Dec 22, 2021 at 12:24:08PM -0600, Eric W. Biederman wrote: > Mike Christie writes: > > > On 12/21/21 6:20 PM, Eric W. Biederman wrote: > >> michael.chris...@oracle.com writes: > >> > >>> On 12/17/21 1:26 PM, Eric W. Biederman wrote: > Mike Christie writes: > > > The

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2021-12-22 Thread Eric W. Biederman
Mike Christie writes: > On 12/21/21 6:20 PM, Eric W. Biederman wrote: >> michael.chris...@oracle.com writes: >> >>> On 12/17/21 1:26 PM, Eric W. Biederman wrote: Mike Christie writes: > The following patches made over Linus's tree, allow the vhost layer to do > a copy_process

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2021-12-22 Thread Mike Christie
On 12/21/21 6:20 PM, Eric W. Biederman wrote: > michael.chris...@oracle.com writes: > >> On 12/17/21 1:26 PM, Eric W. Biederman wrote: >>> Mike Christie writes: >>> The following patches made over Linus's tree, allow the vhost layer to do a copy_process on the thread that does the

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2021-12-21 Thread Eric W. Biederman
michael.chris...@oracle.com writes: > On 12/17/21 1:26 PM, Eric W. Biederman wrote: >> Mike Christie writes: >> >>> The following patches made over Linus's tree, allow the vhost layer to do >>> a copy_process on the thread that does the VHOST_SET_OWNER ioctl like how >>> io_uring does a

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2021-12-17 Thread michael . christie
On 12/17/21 1:26 PM, Eric W. Biederman wrote: > Mike Christie writes: > >> The following patches made over Linus's tree, allow the vhost layer to do >> a copy_process on the thread that does the VHOST_SET_OWNER ioctl like how >> io_uring does a copy_process against its userspace app. This allows

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2021-12-17 Thread Eric W. Biederman
Mike Christie writes: > The following patches made over Linus's tree, allow the vhost layer to do > a copy_process on the thread that does the VHOST_SET_OWNER ioctl like how > io_uring does a copy_process against its userspace app. This allows the > vhost layer's worker threads to inherit

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2021-12-08 Thread michael . christie
On 12/8/21 2:34 PM, Michael S. Tsirkin wrote: > On Mon, Nov 29, 2021 at 01:46:57PM -0600, Mike Christie wrote: >> The following patches made over Linus's tree, allow the vhost layer to do >> a copy_process on the thread that does the VHOST_SET_OWNER ioctl like how >> io_uring does a copy_process

Re: [PATCH V6 01/10] Use copy_process in vhost layer

2021-12-08 Thread Michael S. Tsirkin
On Mon, Nov 29, 2021 at 01:46:57PM -0600, Mike Christie wrote: > The following patches made over Linus's tree, allow the vhost layer to do > a copy_process on the thread that does the VHOST_SET_OWNER ioctl like how > io_uring does a copy_process against its userspace app. This allows the > vhost

[PATCH V6 01/10] Use copy_process in vhost layer

2021-11-29 Thread Mike Christie
The following patches made over Linus's tree, allow the vhost layer to do a copy_process on the thread that does the VHOST_SET_OWNER ioctl like how io_uring does a copy_process against its userspace app. This allows the vhost layer's worker threads to inherit cgroups, namespaces, address space,