[Devel] [PATCH rh7 0/6] Rework devtmpfs virtualization
Cyrill Gorcunov
gorcunov at virtuozzo.com
Thu Jul 23 15:51:57 PDT 2015
On Thu, Jul 23, 2015 at 06:09:57PM +0300, Vladimir Davydov wrote:
> Currently, we implement full-featured devtmpfs virtualization for VE:
> when a deivice is created in a VE "namespace", we send a signal to
> kdevtmpfs to create the devnode on devtmpfs mount corresponding to the
> VE. This seems to be over-complicated: all this work can be done from
> userspace, because we only have a hardcoded list of devices created
> exclusively for VE on container start. Those are tty-related stuff and
> mem devices, and we only need the latter to create devtmpfs nodes.
> Moreover, it is buggy: ve_stop_ns, which destroys VE devtmpfs mount can
> be called before a VE tty device is unregistered, resulting in a KP:
Reviewed-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
More information about the Devel
mailing list