Spdk/examples
Jim Harris c09bfe8965 lib/env: add spdk_unaffinitize_thread
This can be used by threads within SPDK to undo the
affinitization done either by DPDK (for DPDK lcores)
or by inheriting the parent's thread when using
pthread_create().

This will be used by the stub app to unaffinitize
the reactor core to allow the scheduler to flexibly
move it to an idle core.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I7e550953cd9dcd7fd9d98bfbb70660994f2eefcd

Reviewed-on: https://review.gerrithub.io/366680
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-06-23 11:02:04 -04:00
..
ioat env_dpdk: save and restore optind in spdk_env_init 2017-06-13 17:39:38 -04:00
nvme lib/env: add spdk_unaffinitize_thread 2017-06-23 11:02:04 -04:00
Makefile build: wrap $(CURDIR) relative paths in $(abspath) 2016-05-09 13:56:07 -07:00