Spdk/lib/event
Maciej Szwed af1c51505d scheduler: Move busy thread if its mask do not match current lcore
When using interrupt mode we can have a situation
when we create thread (which is always busy) with
a particular core mask, but this thread will be
scheduled for different core, because core
pointed by thread mask is in interrupt mode.

This thread will never be moved by scheduler
to correct core because currently scheduler
do not move busy threads.

This change makes scheduler to move busy threads
if their mask do not match core on which they
are executed currently.

Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Change-Id: I35abdc91b197f1b9d40e491f964d31debad72fa5
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6073
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-01-25 20:37:50 +00:00
..
app_rpc.c reactor: avoid schedule thread to reactor in intr 2021-01-25 16:32:33 +00:00
app.c reactor: add spdk_reactor_set_interrupt_mode func 2021-01-25 20:37:50 +00:00
dpdk_governor.c event: Add DPDK based governor 2020-10-23 22:35:53 +00:00
gscheduler.c event: Fix SPDK_SCHEDULER_REGISTER macro 2021-01-15 08:28:30 +00:00
json_config.c lib/event: Fix no error info problem when reading spdk_tgt json file 2021-01-25 12:52:58 +00:00
log_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
Makefile event: Implement new scheduler 2021-01-22 18:31:25 +00:00
reactor.c event: Change reactor mode based on scheduler output 2021-01-25 20:37:50 +00:00
rpc.c build: remove unused references to conf library 2020-10-20 02:42:16 +00:00
scheduler_dynamic.c scheduler: Move busy thread if its mask do not match current lcore 2021-01-25 20:37:50 +00:00
scheduler_static.c event: Fix SPDK_SCHEDULER_REGISTER macro 2021-01-15 08:28:30 +00:00
spdk_event.map reactor: add spdk_reactor_set_interrupt_mode func 2021-01-25 20:37:50 +00:00
subsystem_rpc.c event: move app_rpc contents 2020-09-25 11:43:42 +00:00
subsystem.c event: remove subsystem legacy config print 2020-10-21 02:25:45 +00:00