Re: RFC [patch 13/34] PID Virtualization Define new task_pid api

From: Kirill Korotaev
Date: Fri Feb 03 2006 - 11:33:30 EST


How can you migrate application which consists of two processes doing IPC via signals? They are not tired inside kernel anyhow and there is
no way to automatically detect that both should be migrated together.
VPSs what provides you such kind of boundaries of what should be considered as a whole.


Could you explain a little bit _how_ VPSs provide this?
OpenVZ virtualizes kernel resources such as IPC making them per-VPS. Processes in VPS deal with such virtualized resources, so they efficiently should be migrated together. That's it - a whole container with its resources should be considered as a whole.

Signals are not virtualized in this manner since they are rather per-task resource, but OpenVZ introduces strict boundaries in kernel which make sure that no any 3rd task from another container (VPS) will be participating in the communication.

Kirill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/