lkml.org 
[lkml]   [2007]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Mark timer_stats as incompatible with multiple pid namespaces

* Eric W. Biederman <ebiederm@xmission.com> wrote:

> > the problem is, this interface stores historic PIDs too - i.e. PIDs
> > of tasks that might have exited already.
>
> Well struct pid * works in that case if you grab the reference to it.

but the display of the stats might happen much later. The point of this
API is to save pid+comm, which gives users a good idea about what caused
the events in the past - without having to pin any resource of that
task.

> {
> timer->start_site = NULL;
> + pit_pid(timer->start_pid);
> + timer->start_pid = NULL;

s/pit/put, right?

Ingo


\
 
 \ /
  Last update: 2007-12-13 21:29    [from the cache]
©2003-2011 Jasper Spaans