commit | 11a861d767cdd87a34397821b0fd2095893b84b3 | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@nvidia.com> | Sat Aug 14 12:57:29 2021 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 14 13:59:10 2021 +0100 |
tree | 76ec542202bd086114436850dd6e91a8cd165e96 | |
parent | 437ebfd90a2567aab19dce47bafc81ebd8a63324 [diff] |
devlink: Use xarray to store devlink instances We can use xarray instead of linearly organized linked lists for the devlink instances. This will let us revise the locking scheme in favour of internal xarray locking that protects database. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>