summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-02-07 08:41:52 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-02-09 02:56:45 +0300
commite59178d895afa29b671323f8265a1e50afe989e5 (patch)
tree65e3c56bd4f7bc1780434ae50aa8fda0147d915d /lib/memory-notifier-error-inject.c
parent3b88afd38e88d1bb2e900204ff0af7301a379a09 (diff)
downloadlinux-e59178d895afa29b671323f8265a1e50afe989e5.tar.xz
RDMA/devices: Use xarray to store the clients
This gives each client a unique ID and will let us move client_data to use xarray, and revise the locking scheme. clients have to be add/removed in strict FIFO/LIFO order as they interdepend. To support this the client_ids are assigned to increase in FIFO order. The existing linked list is kept to support reverse iteration until xarray can get a reverse iteration API. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions