[Devel] WARN_ON(is_virtual_pid(pgrp)) ?

Jakob Goldbach jakob at goldbach.dk
Wed Jan 9 02:03:11 PST 2008


On Wed, 2008-01-09 at 11:55 +0300, Kirill Korotaev wrote:
> AFAIR it can be ignored.

Great. 


> BTW, In 2.6.18 (what kernel are you running?) these lines are changed to:
>          WARN_ON(__is_virtual_pid(pgrp));
>          WARN_ON(__is_virtual_pid(session));
> 

I am using 2.6.18 from Debian. They also distribute
patch-026test015-combined.gz in kernel-patch-openvz.deb 
It contains:

@@ -263,6 +276,9 @@ void __set_special_pids(pid_t session, p
 {
        struct task_struct *curr = current->group_leader;
 
+       WARN_ON(is_virtual_pid(pgrp));
+       WARN_ON(is_virtual_pid(session));
+


/Jakob






More information about the Devel mailing list