Refactor to move alloc stuff to corealloc.c (7/7)
authorKevin Klues <klueska@cs.berkeley.edu>
Tue, 29 Sep 2015 01:47:14 +0000 (18:47 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 24 Nov 2015 19:48:50 +0000 (14:48 -0500)
commit436af79d7b0b16c2389ab957508a48aec564b855
treec35686cc3cc82b8b3c1378cf9fae976b2342862b
parent1a8d428ea4b06e8ed5ddcfae3c877c2e3bedb511
Refactor to move alloc stuff to corealloc.c (7/7)

This commit moves the printing of the idlecore map from schedule.c into
corealloc.c. With this commit, all references to the idlecore map are
removed from schedule.c. There are still a few "core" specific functions
hanging around in schedule.c, but that's because they are all currently
protected by the sched_lock. We should consider either making the
locking finer grained, or externing the sched_lock so these functions
can be completely removed.

Signed-off-by: Kevin Klues <klueska@cs.berkeley.edu>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/corerequest.h
kern/include/schedule.h
kern/src/corealloc.c
kern/src/monitor.c
kern/src/schedule.c