Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 23:45:28 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Matthew Dillon <dillon@apollo.backplane.com>, David Greenman <dg@root.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: PATCH for testing
Message-ID:  <v04210104b4568c52d75d@[128.113.24.47]>
In-Reply-To: <199911160222.SAA46666@apollo.backplane.com>
References:  <199911160144.RAA08909@implode.root.com> <199911160222.SAA46666@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 6:22 PM -0800 11/15/99, Matthew Dillon wrote:
>    Well, I think there is an issue in the proc struct bloat but I disagree
>    strongly about modifying argv - any worthwhile code uses setproctitle()
>    now simply because the argv space is highly dependant on the number of
>    arguments passed to the program, and thus non deterministic.  Since we
>    have setproctitle(), we can depreciate the argv junk.

I'm not running current at the moment so the following may be a
dumb question.  Did something happen such that argv wouldn't
work anymore?  I use a program which sets arguments via argv,
and it seems to be working fine under 3.2-release.

And going for dumb question #2, how does ps find the argv now?
One of the earlier messages in this thread said something about
it "rummaging around" on the other processes' space.  Could the
proc struc contain a pointer to the exact location in the other
processes' space, thus making it quicker for ps to find it?


---
Garance Alistair Drosehn           =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer          or  drosih@rpi.edu
Rensselaer Polytechnic Institute


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04210104b4568c52d75d>