Re: [PATCH V6 10/10] vhost: use user_worker to check RLIMITs

2021-12-17 Thread Eric W. Biederman
Mike Christie writes: > For vhost workers we use the kthread API which inherit's its values from > and checks against the kthreadd thread. This results in the wrong RLIMITs > being checked. This patch has us use the user_worker helpers which will > inherit its values/checks from the thread that

[PATCH V6 10/10] vhost: use user_worker to check RLIMITs

2021-11-29 Thread Mike Christie
For vhost workers we use the kthread API which inherit's its values from and checks against the kthreadd thread. This results in the wrong RLIMITs being checked. This patch has us use the user_worker helpers which will inherit its values/checks from the thread that owns the device similar to if we