]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/stackdepot: annotate depot_init_pool and depot_alloc_stack
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 10 Feb 2023 21:16:01 +0000 (22:16 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:36:12 +0000 (15:36 -0800)
commita08a2b48184fc0bb2dce09b619f04306805a5400
tree158a0b19e1252d67a5389488cdafe070e2b858e2
parent0b2d027ba6391c27bd5c13da7a950e04c894a3c4
lib/stackdepot: annotate depot_init_pool and depot_alloc_stack

Clean up the exisiting comments and add new ones to depot_init_pool and
depot_alloc_stack.

As a part of the clean-up, remove mentions of which variable is accessed
by smp_store_release and smp_load_acquire: it is clear as is from the
code.

Link: https://lkml.kernel.org/r/f80b02951364e6b40deda965b4003de0cd1a532d.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/stackdepot.c