summaryrefslogtreecommitdiffstats
path: root/lib/stackdepot.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stackdepot.c')
-rw-r--r--lib/stackdepot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stackdepot.c b/lib/stackdepot.c
index 66cab785bea0..ed717dd08ff3 100644
--- a/lib/stackdepot.c
+++ b/lib/stackdepot.c
@@ -87,7 +87,7 @@ static bool init_stack_slab(void **prealloc)
87 stack_slabs[depot_index + 1] = *prealloc; 87 stack_slabs[depot_index + 1] = *prealloc;
88 /* 88 /*
89 * This smp_store_release pairs with smp_load_acquire() from 89 * This smp_store_release pairs with smp_load_acquire() from
90 * |next_slab_inited| above and in depot_save_stack(). 90 * |next_slab_inited| above and in stack_depot_save().
91 */ 91 */
92 smp_store_release(&next_slab_inited, 1); 92 smp_store_release(&next_slab_inited, 1);
93 } 93 }
@@ -114,7 +114,7 @@ static struct stack_record *depot_alloc_stack(unsigned long *entries, int size,
114 depot_offset = 0; 114 depot_offset = 0;
115 /* 115 /*
116 * smp_store_release() here pairs with smp_load_acquire() from 116 * smp_store_release() here pairs with smp_load_acquire() from
117 * |next_slab_inited| in depot_save_stack() and 117 * |next_slab_inited| in stack_depot_save() and
118 * init_stack_slab(). 118 * init_stack_slab().
119 */ 119 */
120 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS) 120 if (depot_index + 1 < STACK_ALLOC_MAX_SLABS)