November 21st, 2007

  • dowdle

Can you say mainline 2.6.24 kernel?

Cool. Two familiar names (Pavel Emelyanov and Kir Kolyshkin) contributed an article to this week's Linux Weekly News Kernel page. The article in question is entitled PID namespaces in the 2.6.24 kernel. Obligatory quote:
One of the new features in the upcoming 2.6.24 kernel will be the PID namespaces support developed by the OpenVZ team with the help of IBM. The PID namespace allows for creating sets of tasks, with each such set looking like a standalone machine with respect to process IDs. In other words, tasks in different namespaces can have the same IDs.

This feature is the major prerequisite for the migration containers between hosts; having a namespace, one may move it to another host while keeping the PID values -- and this is a requirement since a task is not expected to change its PID. Without this feature, the migration will very likely fail, as the processes with the same IDs can exist on the destination node, which will cause conflicts when addressing tasks by their IDs.

It is good to see quite a bit of the work done by OpenVZ developers going into the mainline Linux kernel!