tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pg_jobc going negative?



mouse%Rodents-Montreal.ORG@localhost (Mouse) writes:

>> pg_jobc is a process group struct member counting the number of
>> processes with [...]

>> [W]e caught issues that pg_jobc can go negative.  [...]

>> Is going negative in the first place a real bug?

>I would say, yes.  A "count of processes with [condition]" cannot ever
>truly be negative.

Unfortunately it doesn't "count processes with [condition]", that's
more a coincidence on how the mechanism is used.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index