Thread (10 messages) 10 messages, 4 authors, 2021-06-28

Re: [PATCH 0/3] kthread: pass in user and check RLIMIT_NPROC

flat view

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2021-06-24 07:34:14
Also in: lkml

On Wed, Jun 23, 2021 at 10:08:01PM -0500, Mike Christie wrote:
The vhost driver will create a kthread when userspace does a
VHOST_SET_OWNER ioctl, but the thread is charged to the kthreadd thread.
We can then end up violating the userspace process's RLIMIT_NPROC. This
patchset allows drivers to pass in the user to charge/check.

The patches were made over Linus's current tree.

Makes sense I guess.

Acked-by: Michael S. Tsirkin <mst@redhat.com>

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help