Re: [PATCH v11 8/8] vhost: use vhost_tasks for worker threads

From: Nicolas Dichtel
Date: Tue May 09 2023 - 04:10:39 EST


Le 06/05/2023 à 00:37, Mike Christie a écrit :
[snip]
> (Nicolas, I confirmed it fixes the 'ps a' case, but couldn't replicate the 'ps'
> case. If you could test the ps only case or give me info on what /usr/bin/example
> was doing I can replicate and test here):
With you patch:
$ ps a
PID TTY STAT TIME COMMAND
191 ttyS0 Ss 0:00 /bin/sh -li
1255 ttyS0 SLl 0:53 /usr/bin/example
1742 ttyS0 R+ 0:00 ps a
$ ps
PID TTY TIME CMD
191 ttyS0 00:00:00 sh
1743 ttyS0 00:00:00 ps

This fixes the regression on our side, but now, 'example' is not displayed
anymore with 'ps'.

Thank you,
Nicolas