kthread: pass in user and check RLIMIT_NPROC
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | kthread: allow caller to pass in user_structinclude/ include/ kernel/ | +56 | 1 reply | |
| 2/3 | kernel/fork, cred.c: allow copy_process to take userinclude/ kernel/ kernel/ | +13 | 3 replies | |
| 3/3 | vhost: pass kthread user to check RLIMIT_NPROCdrivers/ | +3 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Michael S. Tsirkin | Stefan Hajnoczi |
|---|---|---|
| Series | A-b | A-b |
| 1/3 | ||
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] kthread: pass in user and check RLIMIT_NPROC
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.
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization