projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c2d90f
)
util/disk_cache: Align atomic size.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Sat, 25 Mar 2023 23:06:24 +0000
(
00:06
+0100)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 11 Apr 2023 12:57:15 +0000
(12:57 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22121>
src/util/disk_cache_os.h
patch
|
blob
|
history
diff --git
a/src/util/disk_cache_os.h
b/src/util/disk_cache_os.h
index
b432877
..
0f5f392
100644
(file)
--- a/
src/util/disk_cache_os.h
+++ b/
src/util/disk_cache_os.h
@@
-78,7
+78,7
@@
struct disk_cache {
size_t index_mmap_size;
/* Pointer to total size of all objects in cache (within index_mmap) */
- uint64_t *size;
+
p_atomic_
uint64_t *size;
/* Pointer to stored keys, (within index_mmap). */
uint8_t *stored_keys;