Date: Sun, 25 Jun 2006 01:09:24 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99956 for review Message-ID: <200606250109.k5P19Osw050236@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99956 Change 99956 by csjp@csjp_rnd01 on 2006/06/25 01:09:23 sysctl_kern_proc_args looks like it has suffucient locking. Tag kern.proc.args as being mpsafe, this should eliminate Giant aquisitions from anything which makes a lot of calls to things like setproctitle() Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/kern/kern_proc.c#8 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/kern/kern_proc.c#8 (text+ko) ==== @@ -1328,7 +1328,7 @@ sysctl_kern_proc, "Return process table, no threads"); static SYSCTL_NODE(_kern_proc, KERN_PROC_ARGS, args, - CTLFLAG_RW | CTLFLAG_ANYBODY, + CTLFLAG_RW | CTLFLAG_ANYBODY | CTLFLAG_MPSAFE, sysctl_kern_proc_args, "Process argument list"); static SYSCTL_NODE(_kern_proc, KERN_PROC_PATHNAME, pathname, CTLFLAG_RD,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606250109.k5P19Osw050236>