Prepare code to plug the overcommit notification.
authorPierre Habouzit <pierre.habouzit@intersec.com>
Sun, 15 Jan 2012 07:51:17 +0000 (08:51 +0100)
committerPierre Habouzit <pierre.habouzit@intersec.com>
Sun, 15 Jan 2012 08:00:23 +0000 (09:00 +0100)
Let the pwqr_sb have a state (instead of yes/no "dead" flag) being among:
- DEAD
- NONE (normal)
- UC (undercommit)
- OC (overcommit).

In the last two modes a timer is fired.

In the UC case, if the timer fires, we unpark a thread (if any, and if no
overcommit unpark is pending) as before.

In the OC case for now we do nothing.

Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.com>

No differences found