]> git.openfabrics.org - ~tnikolova/compat-rdma/.git/commit
xeon-phi: update for the xeon phi patches
authorMccormick, Patrick M <patrick.m.mccormick@intel.com>
Tue, 24 Jan 2017 13:56:36 +0000 (15:56 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Tue, 24 Jan 2017 13:56:36 +0000 (15:56 +0200)
commiteee735401ded6bc8772ca2239094fc9c4e7b7709
treea57b8e6370285c5f7b8a9d3b358e71c7279e27bb
parent1eb65f048710d23287cc34d2201e52bf3dd6a206
xeon-phi: update for the xeon phi patches

In ibp cm server change list modification patterns to be atomic. Before adding and removing
from a list would go something like:

1)      Find item in list while holding reader lock
2)      …
3)      Search again for found item while holding writer lock, remove it

Multiple threads could end up holding pointers to items in the list and by the time they get to
deleting it, it may or may not exist in list.

Also: the ibp cm event handler for cm events should always return 0, if it returns non-zero ib_cm
will attempt to remove the cm_id, which is not correct (and causes ib_cm worker thread to dump
stack and hang).

Finally: trivial change an ibscif printk log level to KERN_INFO vs ALERT.

Signed-off-by: Patrick McCormick <patrick.m.mccormick@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
tech-preview/xeon-phi/0003-add-the-ibp-client-and-server-drivers.patch
tech-preview/xeon-phi/0006-Add-ibscif-driver.patch