commit | c4ecfeebefab3ee570613216a9acd5f4b2b47b5e | [log] [tgz] |
---|---|---|
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | Fri Apr 17 20:42:41 2020 +0300 |
committer | Craig Stout <cstout@google.com> | Mon Jun 22 16:42:07 2020 +0000 |
tree | ed225fcba0057975a83819ed8a94b8fec7603ae1 | |
parent | 0edf7cc1700f070498926dacdbfd16f2279e32a0 [diff] |
util/sparse_free_list: manipulate node pointers using atomic primitives Probably doesn't fix anything but those should be accessed in an atomic way just like the head pointer. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: e4f01eca3b3cd1 ("util: Add a free list structure for use with util_sparse_array") Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4613> (cherry picked from commit cdc43775917e301a7ca654fcebb94fad08dc4131) Cherry picked from eb39c5fb4f8f30a203e20abd14f13c30fe28b8d8 Change-Id: Ia37fc2ce540bd594b9d9e23beb08fd5df788f1e4 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/399927 Reviewed-by: Craig Stout <cstout@google.com>