PERFORCE change 188283 for review
John Baldwin
jhb at freebsd.org
Fri Jan 28 22:13:01 UTC 2011
On Friday, January 28, 2011 4:04:15 pm Edward Tomasz Napierala wrote:
> http://p4web.freebsd.org/@@188283?ac=10
>
> Change 188283 by trasz at trasz_victim on 2011/01/28 21:03:18
>
> Prevent one from adding per-process limits for processes marked
> as P_SYSTEM, or retrieving resource usage information for these
> processes.
You probably don't need the PROC_LOCK just to check this flag. It is set on
fork() and that bit never changes, so even if the other bits in p_flag are
stale, you don't care as that doesn't affect testing for P_SYSTEM.
--
John Baldwin
More information about the p4-projects
mailing list