numam-spdk/lib
Jim Harris d4d82fc3ab event: directly add poller when adding to current core
This is required since pollers are now directly removed
(rather than scheduling an event) when the unregister call
is made on the poller's lcore.

Without this change, if a poller is registered then
immediately unregistered, the unregistration will seg
fault since the event adding the poller has not executed
yet.

Also add a test case that exhibits the sequence of events
described in this commit message.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I5c6ba0ee224ac1f8f3ebb8e7571714e718bd42db
2016-10-11 15:35:36 -07:00
..
bdev env: Replace rte_malloc with spdk_zmalloc 2016-10-11 13:34:09 -07:00
conf build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00
copy env: Replace rte_malloc with spdk_zmalloc 2016-10-11 13:34:09 -07:00
cunit eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
env env: Replace rte_malloc with spdk_zmalloc 2016-10-11 13:34:09 -07:00
event event: directly add poller when adding to current core 2016-10-11 15:35:36 -07:00
ioat ioat: Remove ioat_impl, use swappable env lib instead. 2016-10-11 13:34:08 -07:00
iscsi Replace rte_get_tsc calls with spdk_get_ticks 2016-10-11 13:34:09 -07:00
json json: allow decoding of non-standard comments 2016-08-19 09:49:18 -07:00
jsonrpc build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00
log spdk: tweak tracedump 2016-10-05 09:40:21 -07:00
net Drop libpciaccess and switch to DPDK PCI 2016-10-04 15:59:00 -07:00
nvme nvme: Eliminate nvme_impl.h and use the swappable env lib. 2016-10-11 13:34:09 -07:00
nvmf Replace rte_get_tsc calls with spdk_get_ticks 2016-10-11 13:34:09 -07:00
rpc Replace rte_get_tsc calls with spdk_get_ticks 2016-10-11 13:34:09 -07:00
scsi env: Replace rte_malloc with spdk_zmalloc 2016-10-11 13:34:09 -07:00
trace Replace rte_get_tsc calls with spdk_get_ticks 2016-10-11 13:34:09 -07:00
util eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
Makefile memory: Rename to env 2016-10-05 09:49:35 -07:00