Subject: Re: CVS commit: src/sys
To: Elad Efrat <elad@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 10/03/2006 11:50:53
--OwLcNYc0lM97+oe1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 03, 2006 at 04:07:12PM +0000, Elad Efrat wrote:
>=20
> Module Name:	src
> Committed By:	elad
> Date:		Tue Oct  3 16:07:12 UTC 2006
>=20
> Modified Files:
> 	src/sys/kern: init_sysctl.c
> 	src/sys/sys: proc.h sysctl.h
>=20
> Log Message:
> Back out previous (p_flag2).
>=20
> In 30 minutes from now Jason Thorpe will come up with an implementation
> of a proplib dictionary in struct proc, so adding an int doesn't really
> make any sense.

I'm not sure about that. There are things for which I think a proplib=20
woudl be fine, and there are things it isn't fine for. My understanding of=
=20
why you wanted p_flag2 was for flags. I think bits in an int is a very=20
efficient way of storing bit flags.

Just add it right before you add the feature that pushes us over 32 bits=20
worth of flags.

Take care,

Bill

--OwLcNYc0lM97+oe1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iD8DBQFFIrENWz+3JHUci9cRAvfmAKCGtneFq3+uoV98YP0qx+fEa8lzUACfeMKa
NWQmBNUxI3OGPG4xWoHGgGg=
=P54Q
-----END PGP SIGNATURE-----

--OwLcNYc0lM97+oe1--