[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Re: re[2]: Clusterwide pids
> Given the Alpha and the imminent arrival of the Itanium, I would prefer to
> see a 64 bit CPID with the first 32 bits for the node and the last 32 bits
> for the local pid.
Fun, everytime the process migrate we'll have to change the PID (i assume
this will be generic and cluster with processes migrating will use it)
> I don't have Alpha Linux installed on anything right now, so I'm not sure
> what size pid it uses, but it seems reasonable to me for the 64-bit
> processors to use a 64-bit CPID.
As far as i know pid is a pid_t that is a int in all the plataforms.
Add a new field in task struct (we'll end adding a new structure there
anyway) 32 bits if you want with the node number.
You can begin with node number 0 and then start the clusteringd that read
that node number from /etc/
--
Jordi
Student in a dark place of Spain
Linux-cluster: generic cluster infrastructure for Linux
Archive: http://mail.nl.linux.org/linux-cluster/