sched: Remove the idle core interface
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 13 Dec 2017 17:48:58 +0000 (12:48 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 13 Dec 2017 20:22:08 +0000 (15:22 -0500)
commit676b5f294a939f37b2496c6d666b5ed600ab356d
treeb9070f1e5f8869c481c6112e1d50891df51285e8
parent5d437859591bb08eaadefb207fa97d39b1fff194
sched: Remove the idle core interface

It's only used by ARSC code, which no one uses and probably needs a better
approach.

The code for the packed scheduler is buggy as hell:
- __get_any_idle_core doesn't return once it finds an item
- __get_any_idle_core uses uninitialized *spc
- There's no refcounting or interaction with the idle list.
- The UNNAMED_PROC is a problem too (prov -s crashes)

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