Move coreprov_proc_init() to corealloc_proc_init()
authorKevin Klues <klueska@cs.berkeley.edu>
Tue, 6 Oct 2015 02:16:08 +0000 (19:16 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 24 Nov 2015 19:48:50 +0000 (14:48 -0500)
commitb7ab2814724335efc87acddfc9d8c4b16115a333
treeb52483a89aeb0576f23a8a43232ac105e1e02ca6
parent571cd4e9c6066f26f11a4a12904b128f93f01a9f
Move coreprov_proc_init() to corealloc_proc_init()

Initially we were initializing the fields of the core_reuqest_data
struct in coreprov.c, but now that we have allocator specific
definitions for this struct, it makes more sense to have them
initialized in the core allocator they are associated with. Moreover,
it was unclear when we first introduced the coreprov_proc_init()
function that the initialization of the core request data should have
been associated with this file in the first place (the fields it
contains are really more about allocation anyway, even though they work
with a list of provisioned cores).

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_fcfs.c
kern/src/coreprov.c
kern/src/schedule.c