This set of commits refactors the kernel scheduler to allow different
core allocation strategies to be plugged in at compile time.
Currently, the existing FCFS core allocation strategy is the only
option, but soon there will be more.
In a subsequent CL, I will introduce a strategy based on packing cores
as tightly as possible for a given application, while keeping cores
allocated to different processes as far from one another as possible.
The changes in this request can be viewed online at:
https://github.com/brho/akaros/compare/1ed63f9...d942fa1
The following changes since commit 1ed63f9f8e25820f7eb217727d4ee88efe827d41:
Migrated Akaros code to use pragma once (XCC) (2015-11-11 11:37:59 -0500)
are available in the git repository at:
[email protected]:klueska/akaros refactor-scheduler
for you to fetch changes up to d942fa1769e1baf2ef0966a573277ba110f5a88f:
Move coreprov_proc_init() to corealloc_proc_init() (2015-11-11 17:01:20 -0800)
----------------------------------------------------------------
Kevin Klues (17):
Move sched_pcore and friends to corerequest.h
Move spc2pcoreid and pcoreid2spc into header file
Refactor to move prov stuff to coreprov.c (1/4)
Refactor to move prov stuff to coreprov.c (2/4)
Refactor to move prov stuff to coreprov.c (3/4)
Refactor to move prov stuff to coreprov.c (4/4)
Refactor to move alloc stuff to corealloc.c (1/8)
Refactor to move alloc stuff to corealloc.c (2/8)
Refactor to move alloc stuff to corealloc.c (3/8)
Refactor to move alloc stuff to corealloc.c (4/8)
Refactor to move alloc stuff to corealloc.c (5/8)
Refactor to move alloc stuff to corealloc.c (6/8)
Refactor to move alloc stuff to corealloc.c (8/8)
Move is_ll_core(), max_vcores() to corerequest.h
Kconfig option to change core allocation policy
Declare sched_pcore in allocator specific file
Move coreprov_proc_init() to corealloc_proc_init()
leymariv (1):
First step to move corerequest API from schedule.c
Kconfig | 16 +++
kern/include/corerequest.h | 94 +++++++++++++
kern/include/fcfs_corealloc.h | 50 +++++++
kern/include/schedule.h | 25 +---
kern/src/Kbuild | 2 +
kern/src/coreprov.c | 94 +++++++++++++
kern/src/fcfs_corealloc.c | 233 +++++++++++++++++++++++++++++++
kern/src/monitor.c | 6 +-
kern/src/schedule.c | 315 +++++-------------------------------------
kern/src/syscall.c | 2 +-
10 files changed, 529 insertions(+), 308 deletions(-)
create mode 100644 kern/include/corerequest.h
create mode 100644 kern/include/fcfs_corealloc.h
create mode 100644 kern/src/coreprov.c
create mode 100644 kern/src/fcfs_corealloc.c
--
You received this message because you are subscribed to the Google Groups
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.