lkml.org 
[lkml]   [2006]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 04/20] pspace: Allow multiple instaces of the process id namespace
Quoting Kirill Korotaev (dev@sw.ru):
> >So far you have not addressed the issues of maintaining code in the
> >kernel tree.

> Uhhh... I see that you have no real arguments. Nice.

Au contraire, this is a central issue which you have yet to address.
How do you suggest helping maintainers in the future know which pid they
are working with?

For our vpid patchset we had considered using sparse to make sure that
the real ('kernel') and user ('virtual') pids were never used in place
of each other without going through a conversion. That could be one
solution. Using opaque typedefs is of course another solution. But
suspect there will be places in the code where it simply isn't clear
at first glance which pid you'd want. And if it's not clear at first
glance, then it's likely to be done wrong in at least some of those
places.

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

\
 
 \ /
  Last update: 2006-02-13 22:34    [from the cache]
©2003-2011 Jasper Spaans