On 09:42:32,  9.03.16, Michal Mazurek wrote:
> On 22:47:08,  8.03.16, Martin Pieuchot wrote:
> > On 08/03/16(Tue) 10:01, Michal Mazurek wrote:
> > > p_cpu exists, but p_usrpri isn't based on it.
> > 
> > Michal I lost track of all your comment fixes.  One of the accepted
> > rules when we read code is that comments are always lying.  So I doubt
> > anyone will object fixing them.
> > 
> > Could you send a single diff with all your non-committed fixes?

Sorry, I forgot one:


Index: sys/sys/sysctl.h
===================================================================
RCS file: /cvs/src/sys/sys/sysctl.h,v
retrieving revision 1.158
diff -u -p -r1.158 sysctl.h
--- sys/sys/sysctl.h    29 Feb 2016 19:44:07 -0000      1.158
+++ sys/sys/sysctl.h    9 Mar 2016 15:41:04 -0000
@@ -377,7 +377,7 @@ struct kinfo_proc {
 
        int8_t  p_stat;                 /* CHAR: S* process status (from LWP). 
*/
        u_int8_t p_priority;            /* U_CHAR: Process priority. */
-       u_int8_t p_usrpri;              /* U_CHAR: User-priority based on p_cpu 
and ps_nice. */
+       u_int8_t p_usrpri;              /* U_CHAR: User-priority based on 
p_estcpu and ps_nice. */
        u_int8_t p_nice;                /* U_CHAR: Process "nice" value. */
 
        u_int16_t p_xstat;              /* U_SHORT: Exit status for wait; also 
stop signal. */

-- 
Michal Mazurek

Reply via email to