OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Mark timer_stats as incompatible with multiple pid namespaces
Re: [PATCH] Mark timer_stats as incompatible with multiple pid namespaces [message #25063 is a reply to message #25053] Thu, 13 December 2007 20:26 Go to previous messageGo to previous message
Ingo Molnar is currently offline  Ingo Molnar
Messages: 51
Registered: December 2005
Member
* 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
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 2.6.25] [IPV4] Thresholds in fib_trie.c are used as consts, so make them const.
Next Topic: [PATCH][XFRM] Fix potential race vs xfrm_state(only)_find and xfrm_hash_resize.
Goto Forum:
  


Current Time: Sat Oct 11 11:20:52 GMT 2025

Total time taken to generate the page: 0.24854 seconds