[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210624030804.4932-1-michael.christie@oracle.com>
Date: Wed, 23 Jun 2021 22:08:01 -0500
From: Mike Christie <michael.christie@...cle.com>
To: linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org, mst@...hat.com,
sgarzare@...hat.com, jasowang@...hat.com, stefanha@...hat.com,
christian@...uner.io, akpm@...ux-foundation.org,
peterz@...radead.org, christian.brauner@...ntu.com
Subject: [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.
Powered by blists - more mailing lists