sched: Fix packed initialization
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 13 Dec 2017 17:57:11 +0000 (12:57 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 13 Dec 2017 20:22:08 +0000 (15:22 -0500)
commitc415559200ab08d510eb27367122b152ac126068
treea9e51616b08ab7fc25e543f5a741522cb6c1b85c
parent676b5f294a939f37b2496c6d666b5ed600ab356d
sched: Fix packed initialization

Setting alloc_proc = -1 blows up a few things, at least prov -s.  There's
probably other / future issues with it.

The new way a lot clearer too - one pass, make our decision, and move on.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/corealloc_packed.c