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

This commit moves the find_best_core() function out of schedule.c and
puts it in corealloc.c. It is renamed to __find_best_core_to_alloc() to
make it clearer what its intended purpose is.

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