OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 5/20] Introduce struct upid
Re: [PATCH 5/20] Introduce struct upid [message #15827 is a reply to message #15719] Tue, 14 August 2007 20:05 Go to previous messageGo to previous message
Andrew Morton is currently offline  Andrew Morton
Messages: 127
Registered: December 2005
Senior Member
On Fri, 10 Aug 2007 15:47:59 +0400
xemul@openvz.org wrote:

>  struct pid
>  {
>  	atomic_t count;
> @@ -50,6 +50,8 @@ struct pid
>  	/* lists of tasks that use this pid */
>  	struct hlist_head tasks[PIDTYPE_MAX];
>  	struct rcu_head rcu;
> +	int level;
> +	struct upid numbers[1];

You can make this have size [0] now.  It's a gcc extension and
is used elsewhere in the kernel.
 
Read Message
Read Message
Read Message
Previous Topic: containers access control 'roadmap'
Next Topic: task->tgid conversion in fs/locks.c
Goto Forum:
  


Current Time: Thu Jul 31 21:53:06 GMT 2025

Total time taken to generate the page: 0.42664 seconds