Subject: Re: p_flag in struct proc: int -> uint64_t
To: Elad Efrat <>
From: Jason Thorpe <>
List: tech-kern
Date: 10/02/2006 13:41:21
On Oct 2, 2006, at 12:43 PM, Elad Efrat wrote:

> Hi,
> I have a few changes that I'm working on that will require some  
> process
> flags. Regardless of whether eventually I'll commit them or not, we
> reached the point where we have only one unused flag slot left in
> p_flag.
> At the moment it's 'int', so I'd like to bump it to uint64_t at least.
> Is this okay? is there anything that is expected to break? I guess
> sysctl because it uses int32_t, but anything else?

What do you want to add?  Perhaps it's a good time to evaluate how the  
flags are grouped and break them up in a logical fashion (facilitates  
being protected by multiple locks, as well).

> Thanks,
> -e.
> -- 
> Elad Efrat

-- thorpej